why are if else statement expecting everything in python code example
Example: python if elif
num = 20
if num > 30:
print("big")
elif num == 30:
print("same")
else:
print("small")
#output: small
num = 20
if num > 30:
print("big")
elif num == 30:
print("same")
else:
print("small")
#output: small