- 3
how to use else-statements in python version of 3.5.1?
7 Answers
+ 2
The same it has always been.
a = 3
If a == 1:
print("hi")
elif a == 2:
print("lol")
else: print("bye")
0
thanks Fosu...
0
bye
0
X = 10
Y = 20
If X > Y :
Print ("yes")
Else:
[Spam style = " white-space : pre"]
Print ( "no")
0
Je doet gewoon 1 + 1 en dat wordt dan 3.
0
Hello
0
X y