Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

while loop in python for do you want to continue

while input("Do You Want To Continue? [y/n]") == "y":
    # do something
    print("doing something")
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #loop #python #continue
ADD COMMENT
Topic
Name
5+9 =