Q&A Discussões
The “If” is confusing.
2 Votos
5 RespostasIn the continue Loop -
i = 0
while True:
i = i +1
if i == 2:
print("Skipping 2")
continue
if i == 5:
print("Breaking")
break
print(i)
print("Finished")
It shows the output being
"1
Skipping 2
3
4
Breaking
Finished"
Why are the last three lines not
"Breaking
5
Finished"
Where it shows print(i) after break?
1 Voto
3 RespostasThe innermost
3 Votos
4 RespostasQuente hoje
Best language?
0 Votes
Bro can you fix yt error?
0 Votes
Need suggestions
0 Votes
Java full stack
0 Votes
Best code for creating games?
0 Votes
Duration of heart refilling
0 Votes
Calculator
0 Votes