Dyskusje Q&A
About the code section?
2 głosów
1 OdpowiedźLine spacing
0 głosów
2 odpowiedzijuice maker
1 Głos
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 odpowiedziblog schedule
0 głosów
1 Odpowiedźabout size/resize, and measurements: when assigning width or height, px is often! how many px's are there per inch or per cm? for width, it is convenient, with some other measurements applicable, but for height? px's is rather imperceptible! I tried to attribute a certain height in my code, what is best: px, rows, number of lines or what?
1 Głos
3 odpowiedziPopularne dzisiaj
hi there can u answer
0 Votes
Dictionary
2 Votes
Help debug this code
0 Votes
C++
1 Votes
WED DEVELOPMENT
0 Votes
App
0 Votes
Why is my AI helper spanish?
1 Votes
Car game
0 Votes
GIS Analyst to GIS Developer
0 Votes
Json
1 Votes