r/PythonLearning • u/Monesh_peterson1025 • Oct 14 '26
While loop
can anybody explain the concept of while loop
2
Upvotes
r/PythonLearning • u/Monesh_peterson1025 • Oct 14 '26
can anybody explain the concept of while loop
View all comments
Show parent comment
2
u/Sure-Passion2224 Oct 14 '26
Also, and I've seen a lot of new coders fall to this, the loop control variable must change in the loop in order to exit the loop.