Advertisement
Guest User

Untitled

a guest
Apr 21st, 2016
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. print("Hi,welcome to the multiple choice quiz")
  2.  
  3. def info ():
  4. print("Firstly we would like to collect some personal details:-?")
  5. name= input("Please enter your first name?")
  6. surname=input ("please enter your surname?")
  7. email_address= input ("please enter your email addres @.co.uk")
  8. username= input (" Chose a username?")
  9. password= input ("Enter a Password?")
  10.  
  11. validation()
  12.  
  13.  
  14. def validation():
  15. correct=0
  16. while correct==0:
  17. correct=input(" is the following data is correct ?")
  18. if correct in ["Y,y"]:
  19. print("Well done you have registered for the quiz")
  20.  
  21.  
  22. elif correct in ["N,n"]:
  23. info()
  24.  
  25. else:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement