only one if statement in function python code example Example: how to fix if statement in python 2 < 5 3 > 7 x = 11 x > 10 2 * x < x type(True)