¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuitaSesiones de PyR
In 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
Help pls/ python
1 Votes
How to remember what you learned
2 Votes
Find saved code
1 Votes
I want a little help.
0 Votes
What is the output of this code?
0 Votes
HACKER
1 Votes