1num = 20
2if num > 30:
3 print("big")
4elif num == 30:
5 print("same")
6else:
7 print("small")
8#output: small
1if num > 0:
2 print("Positive number")
3elif num == 0:
4 print("Zero")
5else:
6 print("Negative number")
1>>> a = 5
2>>> if a > 5:
3... a = a + 1
4... elif a == 5:
5... a = a + 1000
6... else:
7... a = a - 1
8...
9>>> a
101005
11