Discussões Q&A
About the code section?
2 Votos
1 RespostaLine spacing
0 Voto
2 Respostasjuice maker
1 Voto
2 RespostasIn 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 Respostasblog schedule
0 Voto
1 Respostaabout 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 Voto
3 RespostasPopular hoje
How do we code calculator
2 Votes
How to add comment in python?
2 Votes
I need help
1 Votes
My hearts are disappering :(
0 Votes
Pressure and tension
2 Votes