Advertisement
Guest User

Untitled

a guest
Apr 20th, 2014
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. #Choice Number1
  2. def introchoice():
  3. print()
  4. print("Do you 'Hesitate? or do you 'Walk forward")
  5. print()
  6. def Hesitate():
  7. print()
  8. 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.")
  9. print()
  10. #
  11. def Walk():
  12. print()
  13. print("DEFAULT")
  14. print()
  15. #
  16. def pick():
  17. while True:
  18. Input = input("")
  19. if Input == "Hesitate":
  20. Hesitate()
  21. break
  22. if Input == "Walk":
  23. Walk()
  24. break
  25. #
  26. #
  27. pick()
  28. #-#-#-#-#-#-#-#-#-#-#-#-#
  29. #Clean-up
  30. #-#-#-#-#-#-#-#-#-#-#-#-#
  31.  
  32. def pick():
  33. while True:
  34. Input = input("")
  35. if Input == "Hesitate":
  36. Hesitate()
  37. break
  38. if Input == "Walk":
  39. Walk()
  40. break
  41. if Input is not "Walk" or "Hesitate":
  42. print("INVALID")
  43. break
  44. #
  45. #
  46. pick()
  47. #-#-#-#-#-#-#-#-#-#-#-#-#
  48. #Clean-up
  49. #-#-#-#-#-#-#-#-#-#-#-#-#
  50.  
  51. while True:
  52. my_input = input("> ")
  53. if my_input == "Hesitate":
  54. hesitate()
  55. break
  56. elif my_input == "Walk":
  57. walk()
  58. break
  59. else:
  60. print("INVALID")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement