python inline conditional

x = 10 if False else 0

Here is what the above code is Doing:
1. If the condition is True, then the first expression is evaluated and returned.
2. If the condition is False, then the second expression is evaluated and returned.