Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grátisQ&A Discussões
How do people hack?
-3 Votos
5 RespostasIn 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 RespostasBad practices?
0 Voto
1 RespostaQuente hoje
3 consecutive words
1 Votes
c++ help
1 Votes
How to insert a link into code
0 Votes
My future
0 Votes
C++ students' scores program
0 Votes
Code optimization | C++
0 Votes
How to complete
1 Votes