python for loop in one line with if else python code example Example: 1 line if statement python value_when_true if condition else value_when_false