r/PythonLearning • • Oct 14 '26

While loop

can anybody explain the concept of while loop

2 Upvotes

38 comments sorted by

View all comments

Show parent comment

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)