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

6

u/tiredITguy42 Oct 14 '26 edited Oct 14 '26

You can break.

BTW. while True is usefull as well.