New course! Every coder should learn Generative AI!
Try a free lessonQ&A Discussions
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 Vote
3 AnswersHot today
What did I do wrong ??
0 Votes
I'm confused about C#.
2 Votes
Beginner
1 Votes
Test Case #5 Failed. Help.
1 Votes
How can I make a flag
1 Votes
HTML TUTORIAL
0 Votes
I choose
0 Votes
Want to know something
0 Votes