Guest User

Untitled

a guest
Jan 31st, 2019
778
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.41 KB | None | 0 0
  1. wrong = 0
  2. score=3
  3. import sys
  4.  
  5. import time
  6.  
  7. time.sleep(2)
  8.  
  9. def end():
  10. print ("Game over")
  11. sys.exit()
  12.  
  13.  
  14.  
  15. attempts=0
  16. while attempts<3:
  17. username=input('username?')
  18. password=input('password?')
  19. if username=='jack'and password=='jack123':
  20. print('you are in!')
  21. break
  22. else:
  23. attempts+=1
  24. print('incorrect! Please try again!')
  25. if attempts==3:
  26. print (" to mant attempts, try again later!")
  27. end ()
  28.  
  29.  
  30.  
  31.  
  32. # i got this code from DaniWeb
  33.  
  34.  
  35. print("Music Quiz")
  36. question1 = "Which Lil Peep song dropped songs that made history on Nov 9.th 2018 with the Anitial R?"
  37. options1 = "a. Replynb. Ridingnc. Runaway nd. redruMn"
  38. print(question1)
  39. print(options1)
  40. import time
  41.  
  42. time.sleep(1)
  43.  
  44.  
  45. response = input("Hit 'a', 'b', 'c' or 'd' for your answer ")
  46. if response == "c" :
  47. print ("Well done!")
  48. print (score)
  49. else:
  50. wrong +=1
  51. print ("Wrong!")
  52. if wrong == 2:
  53. end ()
  54.  
  55. import time
  56. time.sleep(2)
  57.  
  58. print("next question")
  59. question2 = "what was Lil Peeps album called with the Anitals 'C.O.W.Y.S"
  60. options2 = "a. Come Over When You're Single nb. Come Over When You're Sobernc. Come Over While You're Sadnd. Cant Overwhelm Worrying Your Spirtn"
  61. print(question2)
  62. print(options2)
  63. import time
  64.  
  65. time.sleep(1)
  66.  
  67. response = input("Hit 'a', 'b', 'c', 'd' for your answer ")
  68. if response == "b" :
  69. print ("Well done!")
  70. score+=3
  71. print (score)
  72. else:
  73. wrong +=1
  74. print ("Wrong, LOL!")
  75. if wrong ==2:
  76. end ()
  77.  
  78. import time
  79. time.sleep(2)
  80.  
  81. print("next question")
  82. question3 = ("Which song by Lil Peep And XXXTentacion hit number 1 out of top 1000 on Itunes and spotify which starts with the anitals F D?")
  83. options3 = ("a. Falling Downnb. Fire Drainnc. Feeling Drunknd. Feeling Depressed")
  84. print(question3)
  85. print(options3)
  86. import time
  87.  
  88. time.sleep(1)
  89.  
  90. response = input("Hit 'a', 'b', 'c' or 'd' for your answer ")
  91. if response == "a" :
  92. print("Well done!")
  93. score+=3
  94. print (score)
  95. else:
  96. wrong +=1
  97. print ("Wrong, the answer was A! Lel")
  98. if wrong ==2:
  99. end ()
  100.  
  101.  
  102. import time
  103. time.sleep(2)
  104.  
  105. print("Next question")
  106. question4 = ("Which song by XXXTentacion starts with the anital B?")
  107. options4 = ("a. Breadnb. Basenc. Boringnd. Brightne.Bad")
  108. print(question4)
  109. print(options4)
  110. import time
  111.  
  112. time.sleep(1)
  113.  
  114. response = input("Hit 'a', 'b', 'c' 'd', or 'e' for your answer ")
  115. if response == "e" :
  116. print("Well done!")
  117. score+=3
  118. print (score)
  119. else:
  120. wrong +=1
  121. print ("Wrong, the answer was e! Lel")
  122. if wrong == 2:
  123. end ()
  124.  
  125. import time
  126. time.sleep(2)
  127.  
  128. print("Next question")
  129. question5 = ("Which song by Joyner Lucas with the anitals I.N.R?")
  130. options5 = ("a. I'm Not Readingnb. I'm Not Remorcefulnc. I'm No Morend. I'm Not Racistne.I'm Not Relevant")
  131. print(question5)
  132. print(options5)
  133. import time
  134.  
  135. time.sleep(1)
  136.  
  137. response = input("Hit 'a', 'b', 'c' 'd', or 'e' for your answer ")
  138. if response == "d" :
  139. print("Well done!")
  140. score+=3
  141. print (score)
  142. else:
  143. wrong +=1
  144. print ("Wrong, the answer was d! Lel")
  145. if wrong == 2:
  146. end ()
  147.  
  148. import time
  149. time.sleep(2)
  150.  
  151. print("Next question")
  152. question6 = ("Which song by Juice WRLD with the anital L?")
  153. options6 = ("a. Leannb. Legendsnc. Leavend. Loserne. Liar")
  154. print(question6)
  155. print(options6)
  156. import time
  157.  
  158. time.sleep(1)
  159.  
  160. response = input("Hit 'a', 'b', 'c' 'd', or 'e' for your answer ")
  161. if response == "b" :
  162. print("Well done! ")
  163. score+=3
  164. print (score)
  165. else:
  166. wrong +=1
  167. print ("Wrong, Get a grip")
  168. if wrong == 2:
  169. end ()
  170.  
  171.  
  172. import time
  173. time.sleep(2)
  174.  
  175. print("Next question")
  176. question7 = ("Which song by 3 Days Grace starts with the anital R?")
  177. options7 = ("a. Redundentnb. Respectnc. Rendernd. Runningne. Riot")
  178. print(question7)
  179. print(options7)
  180. import time
  181.  
  182. time.sleep(1)
  183.  
  184. response = input("Hit 'a', 'b', 'c' 'd', or 'e' for your answer ")
  185. if response == "e" :
  186. print("Keep going bruh! ")
  187. score+=3
  188. print (score)
  189. else:
  190. wrong +=1
  191. print ("Wrong, the answer was e! Dummy")
  192. if wrong ==2:
  193. end ()
  194.  
  195. import time
  196. time.sleep(2)
  197.  
  198. print("Next question")
  199. question7 = ("Which song by Pewdiepie starts with the anitals B.L ?")
  200. options7 = ("a. Bitch lasagnenb. Been Learningnc. Been Helpingnd. Beating hellne. Bother Him")
  201. print(question7)
  202. print(options7)
  203. import time
  204.  
  205. time.sleep(1)
  206.  
  207. response = input("Hit 'a', 'b', 'c' 'd', or 'e' for your answer ")
  208. if response == "a" :
  209. print("Well done! ")
  210. score+=3
  211. print (score)
  212. else:
  213. wrong +=1
  214. print ("Jesus you're dumb or old")
  215. if wrong == 2:
  216. end ()
  217.  
  218.  
  219.  
  220. print("Next question")
  221. question8 = ("Which song by Post Malone starts with the anitals B.F.M ?")
  222. options8 = ("a. Burn For Menb. Been Falling Meannc. Ball For Mend. Break Feelings Mentallyne. Bleed For Me")
  223. print(question8)
  224. print(options8)
  225. import time
  226.  
  227. time.sleep(1)
  228.  
  229. response = input("Hit 'a', 'b', 'c' 'd', or 'e' for your answer ")
  230. if response == "c" :
  231. print("You got it! ")
  232. score+=3
  233. print (score)
  234. else:
  235. wrong +=1
  236. print ("Wrong, You're really bad lmao!")
  237. if wrong == 2:
  238. end ()
  239.  
  240.  
  241. import time
  242. time.sleep(2)
  243.  
  244. print("Next question")
  245. question9 = ("Which song by lil tracey starts with the anital D?")
  246. options9 = ("a. Demonsnb. Devilnc. Dancend.Deadne. Done")
  247. print(question9)
  248. print(options9)
  249. import time
  250.  
  251. time.sleep(1)
  252.  
  253. response = input("Hit 'a', 'b', 'c' 'd', or 'e' for your answer ")
  254. if response == "a" :
  255. print("Keep it up dude you're almost finished! ")
  256. elif response == "A":
  257. print ("Correct! Nice one dude")
  258. score+=3
  259. print (score)
  260. else:
  261. wrong +=1
  262. print ("Wrong, sorry pal")
  263. if wrong == 2:
  264. end ()
  265.  
  266. import time
  267. time.sleep(2)
  268.  
  269. print("Next question")
  270. question9 = ("Which song by lil tracey starts with the anitals I.C.Y.C?")
  271. options9 = ("a. I care, you carenb. I crash, You crashnc. nd.I cant, you canne. I cant you crave")
  272. print(question9)
  273. print(options9)
  274. import time
  275.  
  276. time.sleep(1)
  277.  
  278. response = input("Hit 'a', 'b', 'c' 'd', or 'e' for your answer ")
  279. if response == "b" :
  280. print("you're finished! ")
  281. elif response == "B":
  282. print ("Correct! You've finished!!!!")
  283. score+=3
  284. print (score)
  285. else:
  286. wrong +=1
  287. print ("Wrong, sorry pal")
  288. if wrong == 2:
  289. end ()`enter code here`
Add Comment
Please, Sign In to add comment