nad in if statment python code example
Example 1: or statement python
if x==1 or y==1:
print(x,y)
Example 2: python if statement
if (condition1):
print('condition1 is True')
elif (condition2):
print('condition2 is True')
else:
print('None of the conditions are True')