0

question about if statements.

if num > 3: print("3") if num < 5: print("5") if num ==7: print("7") This is the question My answer is 3 But I dont know why their is no output for if num==7 print("7")

6th May 2017, 2:49 PM
Glenn Massart
2 Answers
+ 18
"if num == 7" is located inside the "if num < 5" ...I hope you got the rest......
6th May 2017, 2:57 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 1
Oke thanks
6th May 2017, 3:10 PM
Glenn Massart