1if condition:
2 # stuff
3elif condition:
4 # stuff
5else:
6 # stuff
7
8
9# EXEMPLE #
10
11hour = 14
12
13if hour < 8: # if hour is less than 8
14 print("It's morning")
15elif hour < 18: # if hour is beetween 8 and 18
16 print("It's the day")
17else: # if hour is upper than 18
18 print("It's the evening")
19
1answer = input(":")
2if answer == "lol":
3 print("haha")
4else:
5 print("not haha")
6 exit()
7
8please note that the exit() command is optional and is not necessary.
1a = 200
2b = 33
3if b > a:
4 print("b is greater than a")
5else:
6 print("b is not greater than a")