#python assingment help - song loop
1 messages · Page 1 of 1 (latest)
You need a condition
Ex.
continue = True
while continue == True:
# do something
Thus will make the loop continue ubtile the variable continue becomes False.
In Python you can simplify those a bit by doing this
while continue:
# do something
Here's a more complete explaination https://www.programiz.com/python-programming/while-loop
In this tutorial, we will learn about the while loop in Python programming with the help of examples.