if statement in a single line in python code example Example: python single line if new_value = value_when_true if condition else value_when_false