0
If-condition
Q3/3. In the answer it should be 37 and not 3, what am I missing? please help
2 Answers
+ 2
If you are referring to this question here:
https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2277/
The reason why it is only 3 is that the of statements are nested there. After checking the first one (>3) it then checks for <5. Since it's not, it doesn't even bother to check the inside block of code.
+ 1
What's the question