New course! Every coder should learn Generative AI!
Try a free lessonQ&A Discussions
About the code section?
2 Votes
1 AnswerLine spacing
0 Votes
2 Answersjuice maker
1 Vote
2 AnswersIn 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 Vote
3 Answersblog schedule
0 Votes
1 Answerabout 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 Vote
3 AnswersHot today
Strange narrowing conversion error from FLTK Color to Color Struct, Stroustrup's header Graph.h
0 Votes
[ solved ] Programming sickness
3 Votes
Effects on HTML and JavaScript
0 Votes
Help. Помогите пожалуйста
1 Votes
Izzy the iguana
0 Votes
Encryption and Decryption
1 Votes