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
GUI-Based Python code in Webpage
4 Votes
Convert Animated SVG to PNG
1 Votes
My Missing Courses
1 Votes
Font size
0 Votes
Mobile
0 Votes
Are '\0' and NULL the same?
1 Votes
Number addition
0 Votes
I need help here
1 Votes