if this or this python code example
Example 1: python or
x = 1
y = 10
if x%2 == 0 or y%2 == 0:
print(x%2)
#Output#
#1
Example 2: python or in if statement
weather = input("How's the weather? ")
if weather == "Good!" or weather == "Great!":
print('Glad to hear!')
else:
print('Too bad!')