demo_if_else2.py:
a = 200 b = 33 if b > a: print("b is greater than a") else: print("b is not greater than a")
➜ begtut>python demo_if_else2.py
b is not greater than a