Dyskusje Q&A
Are they in Python?
2 głosów
1 OdpowiedźJavascript restart prog
6 głosów
2 odpowiedziHow do people hack?
-3 głosów
5 odpowiedziIn 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 Głos
3 odpowiedziBad practices?
0 głosów
1 OdpowiedźPopularne dzisiaj
how does this code function?
2 Votes
.
1 Votes
What?
0 Votes
HTML
0 Votes
Web
0 Votes
Quiz duel
0 Votes
FRC Coding?
1 Votes
help
0 Votes
AI
2 Votes
APIs
1 Votes