Advertisement
Guest User

Untitled

a guest
Feb 18th, 2020
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. #Functions
  2. #allows one to reuse a code so they dont have to write out all the steps every time
  3. def intro():
  4. print("Lets take a quick look at the previous coding exercise.")
  5. intro()
  6. intro()
  7.  
  8. quest = input("Did you finish the previous exercise on while loop? ")
  9. while quest != "Yes" or quest !="yes":
  10. quest = input("go back and finish the exercise")
  11. print("Well done - continue")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement