0
How to check strings with if else ?
friend = "Maung Maung" if friend == "MaungMaung": print("Welcome Sir From My VIP Room") else: print("Welcome Sir From My Coffee Shop")
1 Odpowiedź
+ 4
The keyword is elif
if a == 1:
print("One")
elif a == 2:
print("Two")
else:
print("Something else")