if x==1 or y==1:
print(x,y)
x = 1
y = 10
if x%2 == 0 or y%2 == 0:
print(x%2)
#Output#
#1
# If a is truthy,
# returns a, otherwise b
# Use bool(<value>) to know whether a value
# is truthy or falsy
# a b | True | False
# -------+------+-------
# True | a | a
# -------+------+-------
# False | b | b
print(True or True) # True
print(True or False) # True
print(False or False) # False
print(1 or 0) # 1 is truthy -> 1
print([] or {}) # [] is falsy -> {}
print([] or {} or ()) # "([] or {}) or ()" -> "{} or ()" -> "()"
print([1, 2] or (3, 4)) # [1, 2] is true -> [1, 2]
x = 1; y = 1
if x == 1 or y == 1:
print(x, y)
# 1 1