Dyskusje Q&A
Skipping 3
-1 Głos
13 odpowiedziSkipping lessons
1 Głos
3 odpowiedziSkipping modules
0 głosów
1 OdpowiedźSkipping a tag in JS
0 głosów
12 odpowiedziSkipping lines on ruby
0 głosów
1 OdpowiedźCounting by 15s
1 Głos
3 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