python shorthand for loop if else code example Example: short if else in python x = 10 if a > b else 11