demo_if_and.py:
a = 200 b = 33 c = 500 if a > b and c > a: print("Both conditions are True")
C:\Users\My Name>python demo_if_and.py
Both conditions are True