0
What is the output of this code? num = 7 if num > 3: print("3") if num < 5: print("5") if num ==7: pr
13 Antworten
+ 6
I guess some of you have thought that the answer would be 3 and 7 but it is only 3, because this if num < 5: print("5") code isn't True, the loop won't continue with further indented statements! which means once a false statement is between the 2 true statements the code will not go further to check if there are more true statements.
+ 1
The output is 3, since '7' is not equal to 7
+ 1
3 is
correct answer
0
the answer is 3 bruh
0
I guess the answer's 3 cause; since this >>>if num < 5: print("5")<<< portion isn't True, the loop won't continue with further indented statements!
0
3 is the correct anwser
0
The answer = 3
0
why is 3?
0
3 if statements returns a value for true statements else no further computation of the code.
0
3
0
3
0
3
- 2
the output is 3 and 7.