python if elif else: return 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