MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/PythonLearning/comments/1x5t0ra/while_loop/pgq43g4/?context=3
r/PythonLearning • u/Monesh_peterson1025 • Oct 14 '26
can anybody explain the concept of while loop
38 comments sorted by
View all comments
1
While not drunk:drink beerif drunk:break
1
u/burntoutdev8291 Oct 14 '26
While not drunk:
drink beer
if drunk:
break