Discussions Q&R
Skipping 3
-1 Vote
13 RéponsesSkipping lessons
1 Vote
3 RéponsesSkipping modules
0 Vote
1 RéponseSkipping a tag in JS
0 Vote
12 RéponsesSkipping lines on ruby
0 Vote
1 RéponseCounting by 15s
1 Vote
3 RéponsesIn 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 Vote
3 RéponsesAujourd'hui en vedette
HTML
1 Votes
Formating in python
0 Votes
Could you ple ase help me???
0 Votes
What's wrong here?
0 Votes
Header, Main, Footer
0 Votes
Wifi Password
0 Votes
How to grow in sololearn
0 Votes