Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while True:
- print("Would you like to play again? (yes or no)")
- playAgain = input()
- if playAgain in ('yes', 'y'):
- initGame()
- elif playAgain in ('no', 'n'):
- break
- else:
- print("You should choose YES or NO")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement