Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobierenF&A Diskussionen
Know few tricks on hacking!!!!?
5 Stimmen
2 AntwortenHow do people hack?
-3 Stimmen
5 AntwortenIn 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 AntwortenHow this code can be re-writed?
0 Stimmen
1 AntwortBad practices?
0 Stimmen
1 AntwortHeute heiß
Questions
1 Votes
Why it's giving error
3 Votes
Questions
0 Votes
xampp
0 Votes
Collection
0 Votes
Code Playground
0 Votes
How to solve this
0 Votes