MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/PythonLearning/comments/1x5t0ra/while_loop/pgp8smy/?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
7
While there are still dirty dishes on the pile:
Rinse and put in dishwasher.
3 u/boabertbattle Oct 14 '26 While there is still beer in the fridge:continue to drink beer 0 u/HouseMysterious8172 Oct 14 '26 Stack over-flow, can't finish beer (you"re drunk)
3
While there is still beer in the fridge:continue to drink beer
0 u/HouseMysterious8172 Oct 14 '26 Stack over-flow, can't finish beer (you"re drunk)
0
Stack over-flow, can't finish beer (you"re drunk)
7
u/BranchLatter4294 Oct 14 '26
While there are still dirty dishes on the pile:
Rinse and put in dishwasher.