how to write if else in python flask 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