+ 5
else working!!
num = 7 if num == 5: print("Yes") pass else: print("No") pass Just add pass before else and after else
3 Answers
+ 2
Indent using four spaces inside if and else statements
+ 1
without tabs it isnt going to work
0
pass works...
num = 7 if num == 5: print("Yes") pass else: print("No") pass Just add pass before else and after else