Sesiones de PyR
Skipping 3
-1 Voto
13 RespuestasSkipping lessons
1 Voto
3 RespuestasSkipping modules
0 Votos
1 RespuestaSkipping a tag in JS
0 Votos
12 RespuestasSkipping lines on ruby
0 Votos
1 RespuestaCounting by 15s
1 Voto
3 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
I can't see my activity
5 Votes
Error in python
2 Votes
High paying job?
2 Votes
Python
3 Votes