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
How
5 Votes
Most asked 3.0
0 Votes
Print("hello ,world!"[7:13][2])
0 Votes
is python better than JS
0 Votes
Python Module in Sololearn
2 Votes