r/PythonLearning • • Aug 24 '25

My first code

Post image

First time coding
any ideias or ways to improve it?

76 Upvotes

21 comments sorted by

View all comments

1

u/Some-Passenger4219 Aug 25 '25

Nothing is changed in those while loops. Therefore, they either run forever or do nothing. Remember, a while loop does the statement(s) over and over until the condition is no longer met. Kinda like that "Flo in the button factory" song.