New course! Every coder should learn Generative AI!
Try a free lessonQ&A Discussions
[RESOLVED] Breaking Bug
13 Votes
11 AnswersBRICK BREAKING GAME
3 Votes
7 AnswersWhile loop breaking
1 Vote
3 Answersbreaking tag
0 Votes
2 Answersbreaking a while loop
2 Votes
3 AnswersWhile not breaking
0 Votes
1 Answerbreaking out of loops
0 Votes
2 AnswersBreaking and true code
0 Votes
1 Answerisspace() is breaking input?
0 Votes
1 AnswerBraking a while loop??
0 Votes
13 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
Isogram Detector
2 Votes
Popsicle program
1 Votes
R programming
2 Votes
I want you to help me guys
0 Votes
How to add shadow on text
0 Votes
Hello
0 Votes