+ 5

else working!!

num = 7 if num == 5: print("Yes") pass else: print("No") pass Just add pass before else and after else

25th Jul 2016, 9:59 AM
Yazed
Yazed - avatar
3 Respostas
+ 2
Indent using four spaces inside if and else statements
26th Jul 2016, 11:12 AM
Vladimir K. Bobyr
Vladimir K. Bobyr - avatar
+ 1
without tabs it isnt going to work
25th Jul 2016, 1:38 PM
Abdulbosid Khamidov
Abdulbosid Khamidov - avatar
0
pass works...
7th Dec 2016, 10:43 PM
David