Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobierenF&A Diskussionen
Where is print(i) in the output
0 Stimmen
1 AntwortIn 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 Stimme
3 AntwortenHeute heiß
Py to Exe
0 Votes
How to find image links
0 Votes
I don’t know why but python seems to be harder than java to me does any body else fell like this?
0 Votes
How I can win more Heart?
0 Votes
What's wrong with my code?
0 Votes
TIMER
0 Votes