In Python, how to define an if-else in a single line of code?