Discussioni Q&A
[RESOLVED] Breaking Bug
13 Voti
11 RisposteBRICK BREAKING GAME
3 Voti
7 RisposteWhile loop breaking
1 Voto
3 Rispostebreaking tag
0 Voti
2 Rispostebreaking a while loop
2 Voti
3 RisposteWhile not breaking
0 Voti
1 Rispostabreaking out of loops
0 Voti
2 RisposteBreaking and true code
0 Voti
1 RispostaIn 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 RispostePopolare oggi
Decorators in python.
2 Votes
Need help
1 Votes
Pointers in c#
1 Votes
How to install Bcrypt here
1 Votes
Please click me
0 Votes
Hello !
0 Votes
Help
1 Votes