demo_ref_keyword_and2.py:
if 5 > 3 and 5 < 10: print("Both statements are True") else: print("At least one of the statements are False")
➜ begtut>python demo_keyword_and2.py
Both statements are True