demo_oper_logical1.py:
x = 5 print(x > 3 and x < 10) # returns True because 5 is greater than 3 AND 5 is less than 10
C:\Users\My Name>python demo_oper_logical1.py
True