Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. def Time():
  2. words = "Shall we play a game? Y or N: "
  3. for char in words:
  4. sleep(.14)
  5. sys.stdout.write(char)
  6. sys.stdout.flush()
  7. return(char)
  8. if input(Time()) == 'y':
  9. Games()
  10.  
  11. elif input(Time()) == 'n':
  12. print("Too bad.")
  13. quit()
  14.  
  15. else:
  16. print("Thats not a option. Try again",(Time))
  17.  
  18. if input(Time()) == 'y':
  19. Games()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement