Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Choice Number1
- def introchoice():
- print()
- print("Do you 'Hesitate? or do you 'Walk forward")
- print()
- def Hesitate():
- print()
- print("You hesistate, startled by the sudden illumination of the room. Focusing on the old man who has his back turned to you. He gestures for you to come closer. n ''Come in, Come in, don't be frightened. I'm but a frail old man'' he says.")
- print()
- #
- def Walk():
- print()
- print("DEFAULT")
- print()
- #
- def pick():
- while True:
- Input = input("")
- if Input == "Hesitate":
- Hesitate()
- break
- if Input == "Walk":
- Walk()
- break
- #
- #
- pick()
- #-#-#-#-#-#-#-#-#-#-#-#-#
- #Clean-up
- #-#-#-#-#-#-#-#-#-#-#-#-#
- def pick():
- while True:
- Input = input("")
- if Input == "Hesitate":
- Hesitate()
- break
- if Input == "Walk":
- Walk()
- break
- if Input is not "Walk" or "Hesitate":
- print("INVALID")
- break
- #
- #
- pick()
- #-#-#-#-#-#-#-#-#-#-#-#-#
- #Clean-up
- #-#-#-#-#-#-#-#-#-#-#-#-#
- while True:
- my_input = input("> ")
- if my_input == "Hesitate":
- hesitate()
- break
- elif my_input == "Walk":
- walk()
- break
- else:
- print("INVALID")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement