Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def play_again():
- again= input("would you like to play again? y for yes and n for no")
- while again not in ['Y','y','N','n']:
- again = input("please enter 'Y' or 'N'")
- if again== 'y' or 'Y':
- do_the_quiz()
- else:
- print("cheers lad thanks for playing")
- exit()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement