one liner if else replacement in python

38

>>> a = "Hello" if foo() else "Goodbye"

Comments

Submit
0 Comments