New course! Every coder should learn Generative AI!
Try a free lessonQ&A Discussions
Skipping 3
-1 Vote
13 AnswersSkipping lessons
1 Vote
3 AnswersSkipping modules
0 Votes
1 AnswerSkipping a tag in JS
0 Votes
12 AnswersSkipping lines on ruby
0 Votes
1 AnswerCounting by 15s
1 Vote
3 AnswersIn 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
Python Question
4 Votes
Initials of name
1 Votes
Python Core - restarting?
1 Votes
post your python code here)
2 Votes
Css In python
0 Votes
Forever loop pls help
0 Votes