Dyskusje Q&A
The “If” is confusing.
2 głosów
5 odpowiedziValid codes to surpass error?
0 głosów
1 OdpowiedźCan't understand the output.
0 głosów
2 odpowiedziGoing further with learning
2 głosów
2 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 odpowiedziThe innermost
3 głosów
4 odpowiedziPopularne dzisiaj
HTML/CSS questions
0 Votes
Find courses
0 Votes
Certificate Problem
0 Votes
How to learn css and html
0 Votes
what the hell is going on this lessons cause i cant undrstand anything on any of the lessons
0 Votes
About progress
0 Votes