- 3

how to use else-statements in python version of 3.5.1?

2nd Jul 2016, 10:13 PM
Tanvir
Tanvir - avatar
7 Answers
+ 2
The same it has always been. a = 3 If a == 1: print("hi") elif a == 2: print("lol") else: print("bye")
2nd Jul 2016, 10:32 PM
Gershon Fosu
Gershon Fosu - avatar
0
thanks Fosu...
3rd Jul 2016, 5:39 PM
Tanvir
Tanvir - avatar
0
bye
27th May 2020, 11:46 AM
KagnĂ©ko Abou YĂ©o 🇹🇼🇹🇼
KagnĂ©ko Abou YĂ©o 🇹🇼🇹🇼 - avatar
0
X = 10 Y = 20 If X > Y : Print ("yes") Else: [Spam style = " white-space : pre"] Print ( "no")
14th Aug 2020, 2:57 PM
Udhav Panwar
Udhav Panwar - avatar
0
Je doet gewoon 1 + 1 en dat wordt dan 3.
12th Oct 2020, 9:52 AM
Stijn van der Molen
Stijn van der Molen - avatar
0
Hello
19th May 2021, 11:59 PM
Hayat Atef
Hayat Atef - avatar
0
X y
26th Jan 2022, 6:19 PM
Manan Khan Khan