Dyskusje Q&A
[RESOLVED] Breaking Bug
13 głosów
11 odpowiedziBRICK BREAKING GAME
3 głosów
7 odpowiedziWhile loop breaking
1 Głos
3 odpowiedzibreaking tag
0 głosów
2 odpowiedzibreaking a while loop
2 głosów
3 odpowiedziWhile not breaking
0 głosów
1 Odpowiedźbreaking out of loops
0 głosów
2 odpowiedziBreaking and true code
0 głosów
1 Odpowiedźisspace() is breaking input?
0 głosów
1 OdpowiedźPython : Breaking nested loop
0 głosów
1 OdpowiedźBraking a while loop??
0 głosów
13 odpowiedziIn 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 Głos
3 odpowiedziPopularne dzisiaj
Need a personal tutor
1 Votes
Fix code
0 Votes
..
1 Votes
Software to write and run codes
0 Votes
Add lua
0 Votes
Summary please??
0 Votes