r/PythonLearning • • Oct 14 '26

While loop

can anybody explain the concept of while loop

2 Upvotes

38 comments sorted by

View all comments

7

u/BranchLatter4294 Oct 14 '26

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)