Advertisement
biswasrohit20

game

May 11th, 2021
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. from PlayerGenerator import GenName, GenHistory
  2.  
  3. def Main():
  4.  
  5. while True:
  6. print("Player name: " + GenName())
  7. print(GenHistory())
  8. choice = input("Do you like this character (Y/N)?: ")
  9. if choice == "y" or choice == "Y":
  10. print("I'm glad you liked that character. Let me see if I can top it.")
  11. break
  12. elif choice == "n" or choice == "N":
  13. print("I'm sorry you didn't like that character. Let me try again.")
  14. else:
  15. print("Thanks for running my character generator! Have a good day!")
  16. break
  17.  
  18.  
  19. Main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement