Ein Liner, wenn sonst ersetzt in Python

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