Advertisement
Guest User

Untitled

a guest
Apr 20th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.87 KB | None | 0 0
  1. 8 Ball Game
  2. import random
  3. import time
  4. responses = ["Not so sure", "Most likely", "Absolutely not", "Outlook is good", "Possibly", "Never",
  5. "Negative", "Could be", "Unclear, ask again", "Yes", "No", "Possible, but not probable", "Yes, George Bush did 9/11"]
  6.  
  7. # Following function asks user question, then returns random results from responses
  8. def answerQuery():
  9.     question = input("Ask and you shall receive: ")
  10.     print("Let me dig deep into the screeching and flashbacks of life, and find your answer")
  11.     time.sleep(2)
  12.     print("Downloading...")
  13.     time.sleep(2)
  14.     print(random.choice(responses))
  15.     print("\n")
  16. answerQuery()
  17.  
  18. # Following asks user if they would like to play again, and loops until your is finished
  19. secondQuestion = (input("Would you like to ask the Brain Dead another question? Y/N(Caps Y/N): "))
  20. while secondQuestion == str("Y"):
  21.     answerQuery()
  22.     secondQuestion = (input("Would you like to ask the Brain Dead One another question? Y/N: "))
  23. else:
  24.     print(input("Press space and enter to close: "))
  25.     quit()
  26.  
  27. Bad Story Game
  28. name=input("What is your name?>??????/??")
  29. colour=input("What is your fav colour m9")
  30. animal=input("What animal are you gonna quikscoep?")
  31. friend=input("Whats your friend name")
  32. gender=input("Is your pet he or she?")
  33. gun=input("What is your fav quickskop weppon?")
  34. succ=input("What is your fav succ?")
  35. if gender=="y":
  36.  gender="he"
  37. else:
  38.  gender="she"
  39.  
  40. print("Once upon a time there was a skrublord called",name+".")
  41. print(name, "was a recruiter for faze who loved dog and succ.")
  42. print("But",name, "had a fav succ and",gender,"was a",colour, animal, "called",friend+".")
  43. print("But",name, "also liked guns, his favorite gun was a",gun, "and",gender, "shot it like a pro. He loved quikskopeing",animal, "with it and it made him happy")
  44. print(gender, "favorite type of succ was",succ, "because it was fun")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement