Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

while loop in python for do you want to continue

while True:
    # some code here
    if input('Do You Want To Continue? ') != 'y':
        break
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #loop #python #continue
ADD COMMENT
Topic
Name
1+4 =