Discussioni Q&A
Django from Solo Learn
1 Voto
3 RisposteThe “If” is confusing.
2 Voti
5 RisposteIn 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 Voto
3 RisposteThe innermost
3 Voti
4 RispostePopolare oggi
Coding for Cybersecurity
1 Votes
Need help
1 Votes
Pointers in c#
1 Votes
How can i isntall modules
1 Votes