Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def Time():
- words = "Shall we play a game? Y or N: "
- for char in words:
- sleep(.14)
- sys.stdout.write(char)
- sys.stdout.flush()
- return(char)
- if input(Time()) == 'y':
- Games()
- elif input(Time()) == 'n':
- print("Too bad.")
- quit()
- else:
- print("Thats not a option. Try again",(Time))
- if input(Time()) == 'y':
- Games()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement