how to use or operator in list python code example Example: python or x = 1 y = 10 if x%2 == 0 or y%2 == 0: print(x%2) #Output# #1