Advertisement
Guest User

loopselecta

a guest
Oct 18th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. loopy = False
  2. counter = 0
  3.  
  4. while loopy == False:
  5. finished = input("Are you done? > ")
  6. if finished =="yes":
  7. loopy = True
  8. elif finished == "no":
  9. print("Let's go again ")
  10. else:
  11. print("I am not sure what you want, let's go again ")
  12.  
  13. print(counter)
  14. counter = counter + 1
  15.  
  16. print("And we are done here")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement