lambda r: 'red' if r == 1 elif 'yellow' r== 2 elif 'green' r==3 elif 'blue' r== 4 else 'black'
I want something like this, but don't know exactly how to do it.
Aucun commentaire:
Enregistrer un commentaire