conditionals in python code example
Example 1: or statement python
if x==1 or y==1:
print(x,y)
Example 2: conditional block python
a = 1
b = 2
if a < b:
print("a is less than b") #This will run since 1 is less than 2
elif a > b:
print("a is greater than b")
else:
print("a is equal to b")