how to check 3 condition in python on one line code example Example: 1 line if statement python value_when_true if condition else value_when_false