Guest User

Untitled

a guest
Jul 17th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.32 KB | None | 0 0
  1. # By Tanvi Alyson and Salma
  2.  
  3. start = '''
  4. You wake up in the alone in the middle of the night.
  5. You realize how hungry you are and head to the kitchen to get some food.
  6. On your way to the kitchen door you see a laptop on a table with two options.
  7. '''
  8.  
  9. print(start)
  10.  
  11. print("Type 'left' to choose junk food meals or 'right' to choose actual meals.") # Update to match your story.
  12. user_input = input()
  13. if (user_input == "left"):
  14. print("You decide to swipe left and there are two options - mac and cheese or pizza Which one do you choose?") # Update to match your story.
  15. colordoor = input()
  16. if(colordoor == "mac and cheese"):
  17. print("bacon or baked?")
  18. choice1 = input()
  19. if(choice1 == "bacon"):
  20. print("What is the square root of 225?")
  21. answer1 = input()
  22. if(answer1 == "15"):
  23. print("Correct! You get mac and cheese with bacon!")
  24. else:
  25. print("Try again!")
  26.  
  27. elif(choice1 == "baked"):
  28. print("What is lemonade sour?")
  29. answer1 = input()
  30. if(answer1 == "lemons"):
  31. print("Correct! You get mac and cheese baked in the oven with crispy crumbs on top!")
  32. else:
  33. print("Try again!")
  34. else:
  35. while(choice1 != "baked" and choice1 != "bacon"):
  36. print("wrong, try again.")
  37. choice1 = input()
  38. if(choice1 == "bacon"):
  39. print("What is the square root of 225?")
  40. answer1 = input()
  41. if(answer1 == "15"):
  42. print("Correct! You get mac and cheese with bacon!")
  43. else:
  44. print("Try again!")
  45.  
  46. elif(choice1 == "baked"):
  47. print("What is lemonade sour?")
  48. answer1 = input()
  49. if(answer1 == "lemons"):
  50. print("Correct! You get mac and cheese baked in the oven with crispy crumbs on top!")
  51. else:
  52. print("Try again!")
  53.  
  54. elif(colordoor == "pizza"):
  55. print("pepperoni or veggie?")
  56. choice2 = input()
  57. if(choice2 == "pepperoni"):
  58. print("'I've never seen so many mattresses' How many do you think there are?'")
  59. answer3 = input()
  60. if(answer3 == "10"):
  61. print("Correct! You get pepperoni pizza!")
  62. else:
  63. print("Try again!")
  64. elif(choice2 == "veggie"):
  65. print("Why do cats meow?")
  66. answer4 = input()
  67. if(answer4 == "they bark"):
  68. print("Correct! You get veggie pizza!")
  69. else:
  70. print("Try again!")
  71. else:
  72. while(choice2 != "veggie" and choice2 != "pepperoni"):
  73. print("wrong, try again.")
  74. choice2 = input()
  75. if(choice2 == "pepperoni"):
  76. print("'I've never seen so many mattresses' How many do you think there are?'")
  77. answer3 = input()
  78. if(answer3 == "10"):
  79. print("Correct! You get pepperoni pizza!")
  80. else:
  81. print("Try again!")
  82. elif(choice2 == "veggie"):
  83. print("Why do cats meow?")
  84. answer4 = input()
  85. if(answer4 == "they bark"):
  86. print("Correct! You get veggie pizza!")
  87. else:
  88. print("Try again!")
  89.  
  90. else:
  91. while(colordoor != "pizza" and colordoor != "mac and cheese"):
  92. print("wrong, try again.")
  93. colordoor = input()
  94. if(colordoor == "mac and cheese"):
  95. print("bacon or baked")
  96. choice1 = input()
  97. if(choice1 == "bacon"):
  98. print("What is the square root of 225?")
  99. answer1 = input()
  100. if(answer1 == "15"):
  101. print("Correct! You get mac and cheese with bacon!")
  102. else:
  103. print("Try again!")
  104.  
  105. elif(choice1 == "baked"):
  106. print("What is lemonade sour?")
  107. answer1 = input()
  108. if(answer1 == "lemons"):
  109. print("Correct! You get mac and cheese baked in the oven with crispy crumbs on top!")
  110. else:
  111. print("Try again!")
  112. else:
  113. while(choice1 != "baked" and choice1 != "bacon"):
  114. print("wrong, try again.")
  115. choice1 = input()
  116. if(choice1 == "bacon"):
  117. print("What is the square root of 225?")
  118. answer1 = input()
  119. if(answer1 == "15"):
  120. print("Correct! You get mac and cheese with bacon!")
  121. else:
  122. print("Try again!")
  123.  
  124. elif(choice1 == "baked"):
  125. print("What is lemonade sour?")
  126. answer1 = input()
  127. if(answer1 == "lemons"):
  128. print("Correct! You get mac and cheese baked in the oven with crispy crumbs on top!")
  129. else:
  130. print("Try again!")
  131. elif(colordoor == "pizza"):
  132. print("pepperoni or veggie")
  133. choice2 = input()
  134. if(choice2 == "pepperoni"):
  135. print("'I've never seen so many mattresses' How many do you think there are?'")
  136. answer3 = input()
  137. if(answer3 == "10"):
  138. print("Correct! You get pepperoni pizza!")
  139. else:
  140. print("Try again!")
  141. elif(choice2 == "veggie"):
  142. print("Why do cats meow?")
  143. answer4 = input()
  144. if(answer4 == "they bark"):
  145. print("Correct! You get veggie pizza!")
  146. else:
  147. print("Try again!")
  148. else:
  149. while(choice2 != "veggie" and choice2 != "pepperoni"):
  150. print("wrong, try again.")
  151. choice2 = input()
  152. if(choice2 == "pepperoni"):
  153. print("'I've never seen so many mattresses' How many do you think there are?'")
  154. answer3 = input()
  155. if(answer3 == "10"):
  156. print("Correct! You get pepperoni pizza!")
  157. else:
  158. print("Try again!")
  159. elif(choice2 == "veggie"):
  160. print("Why do cats meow?")
  161. answer4 = input()
  162. if(answer4 == "they bark"):
  163. print("Correct! You get veggie pizza!")
  164. else:
  165. print("Try again!")
  166.  
  167. # Continue code to finish story.
  168.  
  169. elif (user_input == "right"):
  170. print("You choose to swipe right and there are two options - steak or fish. Which one do you choose?")
  171. door = input()
  172. if(door == "steak"):
  173. print("t-bone or filet?")
  174. choice3 = input()
  175. if(choice3 == "t-bone"):
  176. print("What is the best dog name?")
  177. answer5 = input()
  178. if(answer5 == "bear"):
  179. print("Correct! You get t-bone steak")
  180. else:
  181. print("Try again!")
  182. elif(choice3 == "filet"):
  183. print("Why is water wet?")
  184. answer6 = input()
  185. if(answer6 == "its not"):
  186. print("Correct! You get a filet!")
  187. else:
  188. print("Try again!")
  189. else:
  190. while(choice3 != "t-bone" and choice3 != "filet"):
  191. print("wrong, try again.")
  192. choice3 = input()
  193. if(choice3 == "t-bone"):
  194. print("What is the best dog name?")
  195. answer5 = input()
  196. if(answer5 == "bear"):
  197. print("Correct! You get t-bone steak")
  198. else:
  199. print("Try again!")
  200. elif(choice3 == "filet"):
  201. print("Why is water wet?")
  202. answer6 = input()
  203. if(answer6 == "its not"):
  204. print("Correct! You get a filet!")
  205. else:
  206. print("Try again!")
  207.  
  208. elif(door == "fish"):
  209. print("salmon or caviar?")
  210. choice4 = input()
  211. if(choice4 == "salmon"):
  212. print("What's the color of the sky")
  213. answer7 = input()
  214. if(answer7 == "blue"):
  215. print("Correct! You get salmon!")
  216. else:
  217. print("Try again!")
  218. elif(choice4 == "caviar"):
  219. print("Whats 1+1")
  220. answer8 = input()
  221. if(answer8 == "2"):
  222. print("Correct! You get caviar!")
  223. else:
  224. print("Try again!")
  225. else:
  226. while(choice4 != "salmon" and choice4 != "caviar"):
  227. print("wrong, try again.")
  228. choice4 = input()
  229. if(choice4 == "salmon"):
  230. print("What's the color of the sky")
  231. answer7 = input()
  232. if(answer7 == "blue"):
  233. print("Correct! You get salmon!")
  234. else:
  235. print("Try again!")
  236. elif(choice4 == "caviar"):
  237. print("Whats 1+1")
  238. answer8 = input()
  239. if(answer8 == "2"):
  240. print("Correct! You get caviar!")
  241. else:
  242. print("Try again!")
  243.  
  244. else:
  245. while(door != "steak" and door != "fish"):
  246. print("wrong, try again.")
  247. door = input()
  248. if(door == "steak"):
  249. print("t-bone or filet")
  250. choice3 = input()
  251. if(choice3 == "t-bone"):
  252. print("What is the best dog name?")
  253. answer5 = input()
  254. if(answer5 == "bear"):
  255. print("Correct! You get t-bone steak")
  256. else:
  257. print("Try again!")
  258. elif(choice3 == "filet"):
  259. print("Why is water wet?")
  260. answer6 = input()
  261. if(answer6 == "its not"):
  262. print("Correct! You get a filet!")
  263. else:
  264. print("Try again!")
  265. else:
  266. while(choice3 != "t-bone" and choice3 != "filet"):
  267. print("wrong, try again.")
  268. choice3 = input()
  269. if(choice3 == "t-bone"):
  270. print("What is the best dog name?")
  271. answer5 = input()
  272. if(answer5 == "bear"):
  273. print("Correct! You get t-bone steak")
  274. else:
  275. print("Try again!")
  276. elif(choice3 == "filet"):
  277. print("Why is water wet?")
  278. answer6 = input()
  279. if(answer6 == "its not"):
  280. print("Correct! You get a filet!")
  281. else:
  282. print("Try again!")
  283.  
  284. elif(door == "fish"):
  285. print("salmon or caviar")
  286. choice4 = input()
  287. if(choice4 == "salmon"):
  288. print("What's the color of the sky")
  289. answer7 = input()
  290. if(answer7 == "blue"):
  291. print("Correct! You get salmon!")
  292. else:
  293. print("Try again!")
  294. elif(choice4 == "caviar"):
  295. print("Whats 1+1")
  296. answer8 = input()
  297. if(answer8 == "2"):
  298. print("Correct! You get caviar!")
  299. else:
  300. print("Try again!")
  301. else:
  302. while(choice4 != "salmon" and choice4 != "caviar"):
  303. print("wrong, try again.")
  304. choice4 = input()
  305. if(choice4 == "salmon"):
  306. print("What's the color of the sky")
  307. answer7 = input()
  308. if(answer7 == "blue"):
  309. print("Correct! You get salmon!")
  310. else:
  311. print("Try again!")
  312. elif(choice4 == "caviar"):
  313. print("Whats 1+1")
  314. answer8 = input()
  315. if(answer8 == "2"):
  316. print("Correct! You get caviar!")
  317. else:
  318. print("Try again!")
  319.  
  320. else:
  321. while(user_input != "left" and user_input != "right"):
  322. print("wrong, try again.")
  323. user_input = input()
  324. if (user_input == "left"):
  325. print("You decide to swipe left and there are two options - mac and cheese or pizza Which one do you choose?") # Update to match your story.
  326. colordoor = input()
  327. if(colordoor == "mac and cheese"):
  328. print("bacon or baked")
  329. choice1 = input()
  330. if(choice1 == "bacon"):
  331. print("What is the square root of 225?")
  332. answer1 = input()
  333. if(answer1 == "15"):
  334. print("Correct! You get mac and cheese with bacon!")
  335. else:
  336. print("Try again!")
  337.  
  338. elif(choice1 == "baked"):
  339. print("What is lemonade sour?")
  340. answer1 = input()
  341. if(answer1 == "lemons"):
  342. print("Correct! You get mac and cheese baked in the oven with crispy crumbs on top!")
  343. else:
  344. print("Try again!")
  345. else:
  346. while(choice1 != "baked" and choice1 != "bacon"):
  347. print("wrong, try again.")
  348. choice1 = input()
  349. if(choice1 == "bacon"):
  350. print("What is the square root of 225?")
  351. answer1 = input()
  352. if(answer1 == "15"):
  353. print("Correct! You get mac and cheese with bacon!")
  354. else:
  355. print("Try again!")
  356.  
  357. elif(choice1 == "baked"):
  358. print("What is lemonade sour?")
  359. answer1 = input()
  360. if(answer1 == "lemons"):
  361. print("Correct! You get mac and cheese baked in the oven with crispy crumbs on top!")
  362. else:
  363. print("Try again!")
  364.  
  365. elif(colordoor == "pizza"):
  366. print("pepperoni or veggie")
  367. choice2 = input()
  368. if(choice2 == "pepperoni"):
  369. print("'I've never seen so many mattresses' How many do you think there are?'")
  370. answer3 = input()
  371. if(answer3 == "10"):
  372. print("Correct! You get pepperoni pizza!")
  373. else:
  374. print("Try again!")
  375. elif(choice2 == "veggie"):
  376. print("Why do cats meow?")
  377. answer4 = input()
  378. if(answer4 == "they bark"):
  379. print("Correct! You get veggie pizza!")
  380. else:
  381. print("Try again!")
  382. else:
  383. while(choice2 != "veggie" and choice2 != "pepperoni"):
  384. print("wrong, try again.")
  385. choice2 = input()
  386. if(choice2 == "pepperoni"):
  387. print("'I've never seen so many mattresses' How many do you think there are?'")
  388. answer3 = input()
  389. if(answer3 == "10"):
  390. print("Correct! You get pepperoni pizza!")
  391. else:
  392. print("Try again!")
  393. elif(choice2 == "veggie"):
  394. print("Why do cats meow?")
  395. answer4 = input()
  396. if(answer4 == "they bark"):
  397. print("Correct! You get veggie pizza!")
  398. else:
  399. print("Try again!")
  400.  
  401. else:
  402. while(colordoor != "pizza" and colordoor != "mac and cheese"):
  403. print("wrong, try again.")
  404. colordoor = input()
  405. if(colordoor == "mac and cheese"):
  406. print("bacon or baked")
  407. choice1 = input()
  408. if(choice1 == "bacon"):
  409. print("What is the square root of 225?")
  410. answer1 = input()
  411. if(answer1 == "15"):
  412. print("Correct! You get mac and cheese with bacon!")
  413. else:
  414. print("Try again!")
  415.  
  416. elif(choice1 == "baked"):
  417. print("What is lemonade sour?")
  418. answer1 = input()
  419. if(answer1 == "lemons"):
  420. print("Correct! You get mac and cheese baked in the oven with crispy crumbs on top!")
  421. else:
  422. print("Try again!")
  423. else:
  424. while(choice1 != "baked" and choice1 != "bacon"):
  425. print("wrong, try again.")
  426. choice1 = input()
  427. if(choice1 == "bacon"):
  428. print("What is the square root of 225?")
  429. answer1 = input()
  430. if(answer1 == "15"):
  431. print("Correct! You get mac and cheese with bacon!")
  432. else:
  433. print("Try again!")
  434.  
  435. elif(choice1 == "baked"):
  436. print("What is lemonade sour?")
  437. answer1 = input()
  438. if(answer1 == "lemons"):
  439. print("Correct! You get mac and cheese baked in the oven with crispy crumbs on top!")
  440. else:
  441. print("Try again!")
  442. elif(colordoor == "pizza"):
  443. print("pepperoni or veggie")
  444. choice2 = input()
  445. if(choice2 == "pepperoni"):
  446. print("'I've never seen so many mattresses' How many do you think there are?'")
  447. answer3 = input()
  448. if(answer3 == "10"):
  449. print("Correct! You get pepperoni pizza!")
  450. else:
  451. print("Try again!")
  452. elif(choice2 == "veggie"):
  453. print("Why do cats meow?")
  454. answer4 = input()
  455. if(answer4 == "they bark"):
  456. print("Correct! You get veggie pizza!")
  457. else:
  458. print("Try again!")
  459. else:
  460. while(choice2 != "veggie" and choice2 != "pepperoni"):
  461. print("wrong, try again.")
  462. choice2 = input()
  463. if(choice2 == "pepperoni"):
  464. print("'I've never seen so many mattresses' How many do you think there are?'")
  465. answer3 = input()
  466. if(answer3 == "10"):
  467. print("Correct! You get pepperoni pizza!")
  468. else:
  469. print("Try again!")
  470. elif(choice2 == "veggie"):
  471. print("Why do cats meow?")
  472. answer4 = input()
  473. if(answer4 == "they bark"):
  474. print("Correct! You get veggie pizza!")
  475. else:
  476. print("Try again!")
  477.  
  478. # Continue code to finish story.
  479.  
  480. elif (user_input == "right"):
  481. print("You choose to swipe right and there are two options - steak or fish. Which one do you choose?")
  482. door = input()
  483. if(door == "steak"):
  484. print("t-bone or filet")
  485. choice3 = input()
  486. if(choice3 == "t-bone"):
  487. print("What is the best dog name?")
  488. answer5 = input()
  489. if(answer5 == "bear"):
  490. print("Correct! You get t-bone steak")
  491. else:
  492. print("Try again!")
  493. elif(choice3 == "filet"):
  494. print("Why is water wet?")
  495. answer6 = input()
  496. if(answer6 == "its not"):
  497. print("Correct! You get a filet!")
  498. else:
  499. print("Try again!")
  500. else:
  501. while(choice3 != "t-bone" and choice3 != "filet"):
  502. print("wrong, try again.")
  503. choice3 = input()
  504. if(choice3 == "t-bone"):
  505. print("What is the best dog name?")
  506. answer5 = input()
  507. if(answer5 == "bear"):
  508. print("Correct! You get t-bone steak")
  509. else:
  510. print("Try again!")
  511. elif(choice3 == "filet"):
  512. print("Why is water wet?")
  513. answer6 = input()
  514. if(answer6 == "its not"):
  515. print("Correct! You get a filet!")
  516. else:
  517. print("Try again!")
  518.  
  519. elif(door == "fish"):
  520. print("salmon or caviar")
  521. choice4 = input()
  522. if(choice4 == "salmon"):
  523. print("What's the color of the sky")
  524. answer7 = input()
  525. if(answer7 == "blue"):
  526. print("Correct! You get salmon!")
  527. else:
  528. print("Try again!")
  529. elif(choice4 == "caviar"):
  530. print("Whats 1+1")
  531. answer8 = input()
  532. if(answer8 == "2"):
  533. print("Correct! You get caviar!")
  534. else:
  535. print("Try again!")
  536. else:
  537. while(choice4 != "salmon" and choice4 != "caviar"):
  538. print("wrong, try again.")
  539. choice4 = input()
  540. if(choice4 == "salmon"):
  541. print("What's the color of the sky")
  542. answer7 = input()
  543. if(answer7 == "blue"):
  544. print("Correct! You get salmon!")
  545. else:
  546. print("Try again!")
  547. elif(choice4 == "caviar"):
  548. print("Whats 1+1")
  549. answer8 = input()
  550. if(answer8 == "2"):
  551. print("Correct! You get caviar!")
  552. else:
  553. print("Try again!")
  554.  
  555. else:
  556. while(door != "steak" and door != "fish"):
  557. print("wrong, try again.")
  558. door = input()
  559. if(door == "steak"):
  560. print("t-bone or filet")
  561. choice3 = input()
  562. if(choice3 == "t-bone"):
  563. print("What is the best dog name?")
  564. answer5 = input()
  565. if(answer5 == "bear"):
  566. print("Correct! You get t-bone steak")
  567. else:
  568. print("Try again!")
  569. elif(choice3 == "filet"):
  570. print("Why is water wet?")
  571. answer6 = input()
  572. if(answer6 == "its not"):
  573. print("Correct! You get a filet!")
  574. else:
  575. print("Try again!")
  576. else:
  577. while(choice3 != "t-bone" and choice3 != "filet"):
  578. print("wrong, try again.")
  579. choice3 = input()
  580. if(choice3 == "t-bone"):
  581. print("What is the best dog name?")
  582. answer5 = input()
  583. if(answer5 == "bear"):
  584. print("Correct! You get t-bone steak")
  585. else:
  586. print("Try again!")
  587. elif(choice3 == "filet"):
  588. print("Why is water wet?")
  589. answer6 = input()
  590. if(answer6 == "its not"):
  591. print("Correct! You get a filet!")
  592. else:
  593. print("Try again!")
  594.  
  595. elif(door == "fish"):
  596. print("salmon or caviar")
  597. choice4 = input()
  598. if(choice4 == "salmon"):
  599. print("What's the color of the sky")
  600. answer7 = input()
  601. if(answer7 == "blue"):
  602. print("Correct! You get salmon!")
  603. else:
  604. print("Try again!")
  605. elif(choice4 == "caviar"):
  606. print("Whats 1+1")
  607. answer8 = input()
  608. if(answer8 == "2"):
  609. print("Correct! You get caviar!")
  610. else:
  611. print("Try again!")
  612. else:
  613. while(choice4 != "salmon" and choice4 != "caviar"):
  614. print("wrong, try again.")
  615. choice4 = input()
  616. if(choice4 == "salmon"):
  617. print("What's the color of the sky")
  618. answer7 = input()
  619. if(answer7 == "blue"):
  620. print("Correct! You get salmon!")
  621. else:
  622. print("Try again!")
  623. elif(choice4 == "caviar"):
  624. print("Whats 1+1")
  625. answer8 = input()
  626. if(answer8 == "2"):
  627. print("Correct! You get caviar!")
  628. else:
  629. print("Try again!")
Add Comment
Please, Sign In to add comment