Sesiones de PyR
[RESOLVED] Breaking Bug
13 Votos
11 RespuestasBRICK BREAKING GAME
3 Votos
7 RespuestasWhile loop breaking
1 Voto
3 Respuestasbreaking tag
0 Votos
2 RespuestasWhile not breaking
0 Votos
1 Respuestabreaking a while loop
2 Votos
3 Respuestasbreaking out of loops
0 Votos
2 RespuestasBreaking and true code
0 Votos
1 RespuestaBraking a while loop??
0 Votos
13 RespuestasIn 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 RespuestasEn tendencia hoy
Pig Latin
0 Votes
Someone can help me
0 Votes
Square Roots
0 Votes
What's wrong with this?
2 Votes
I’m new someone can help me
0 Votes
HTML community, HELP!!
0 Votes
What's doctype htMl
2 Votes
need help with the HTML code
1 Votes