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