demo_if_elif.py:
a = 33 b = 33 if b > a: print("b is greater than a") elif a == b: print("a and b are equal")
C:\Users\My Name>python demo_if_elif.py
a and b are equal