Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.13 KB | None | 0 0
  1. def sum():
  2. points = []
  3. sum = 0
  4. for ans in range(0, len(points)):
  5. sum = sum + points[ans]
  6.  
  7.  
  8.  
  9. points = []
  10.  
  11. listylenghty=len(points)
  12. print(listylengthy)
  13.  
  14. print ("Welcome to the test!!!!")
  15. print("I will give you the definition and you have to spell the word.Every question is woth 10 points and there will be 10 questions")
  16. print("Goodluck!")
  17. answer=input ("1.To accept that something is true without proof")
  18. if answer=="believe":
  19. print("thats correct! heres your points")
  20. points.append (10)
  21. print(points)
  22.  
  23. elif answer=="beleeve"or answer=="beleve"or answer=="believ"or answer=="belev":
  24. print ("sorry thats incorrect it was believe")
  25.  
  26. else:
  27. print("thats not the word it was believe sorry")
  28.  
  29. print("here are your points!")
  30. print (points)
  31.  
  32. answer=input("2. without doubt")
  33. if answer=="definitely":
  34. print("thats correct!heres your points")
  35. sum()
  36. print(sum)
  37.  
  38. elif answer=="definatly" or answer=="definately"or answer=="defo":
  39. print("nope so close though it was definitely, heres your points")
  40. sum()
  41. print (sum)
  42.  
  43. else:
  44. print("thats not the word sorry it was definitely,heres your points")
  45. sum()
  46. print (sum)
  47.  
  48.  
  49. answer=input ("3.a high ranking miliary officer")
  50.  
  51. if answer=="colonel":
  52. print ("thats correct!heres your points")
  53. sum()
  54. print (sum)
  55.  
  56. elif answer=="kernal"or answer== "cernal" or answer=="kernul"or answer=="cernul"or answer=="kernel":
  57. print("almost,not quite it was colonel, heres your points")
  58. sum()
  59. print (sum)
  60.  
  61. else:
  62. print("not the right word sorry it was colonel.heres your points")
  63. sum()
  64. print(sum)
  65.  
  66. answer=input ("4.a vertical structure that holds something up")
  67.  
  68. if answer=="column":
  69. print ("thats correct!heres your points")
  70. points.append (10)
  71. sum()
  72. print (sum)
  73.  
  74. elif answer=="colum"or answer=="colm"or answer=="culume"or answer=="colom":
  75. print("almost it was colummn,heres your points")
  76. sum()
  77. print(sum)
  78.  
  79. elif answer=="shaniqua":
  80. print("yasssss") #requested by Aoife
  81. sum()
  82. print(sum)
  83. else:
  84. print("thats not the word it was column.heres your points")
  85.  
  86. answer=input ("5.freedom from responsibilities and tasks")
  87.  
  88. if answer=="leisure":
  89. print("Thats correct!Heres your points")
  90. points.append(10)
  91. sum()
  92. print (sum)
  93.  
  94. elif answer=="lesure"or answer=="lesher"or answer=="leisur"or answer=="leser"or answer=="leshur":
  95. print("Not quite it was leisure.Heres your points")
  96. sum()
  97. print(sum)
  98.  
  99. else:
  100. print ("Sorry thats not the word it was leisure. Heres your points")
  101. sum()
  102. print(sum)
  103.  
  104. answer=input ("6.Device with a short bar between two weights, used for exercise")
  105. #100th line!
  106. if answer== "dumbbell":
  107. print ("Thats correct!Heres your points")
  108. point.append(10)
  109. sum()
  110. print (sum)
  111.  
  112. elif answer== "dumbell" or answer== "dummbell"or answer== "dumbel":
  113. print ("Not quite sorry, it was dumbbell. Heres your points")
  114. sum()
  115. print (sum)
  116.  
  117. else:
  118. print ("No sorry it was dumbell.Heres your points so far")
  119. sum()
  120. print (sum)
  121.  
  122. answer=input ("7.To spell incorrectly")
  123.  
  124. if answer== "misspell":
  125. print("Thats it! not too hard but well done!Heres your points")
  126. points.append(10)
  127. sum()
  128. print (sum)
  129.  
  130. elif answer=="mispell" or answer== "miss spell" or answer== "mispel":
  131. print("Almost it was misspell.Heres your points")
  132. sum()
  133. print (sum)
  134.  
  135. else:
  136. print("Nope sorry it was misspell.heres your points")
  137. sum()
  138. print(sum)
  139.  
  140. answer=input ("8.To live by or be near someone")
  141.  
  142. if answer=="neighbour":
  143. print("Thats correct!Heres your points")
  144. points.append(10)
  145. sum()
  146. print(sum)
  147.  
  148. elif answer=="neighbor" or answer=="nayber"or answer=="neihber" or answer=="neyber" or answer=="neighbur":
  149. print("Almost,it was neighbour. Heres your points")
  150. sum()
  151. print(sum)
  152.  
  153. else:
  154. print("Thats not it sorry, it was neighbour.Heres your points")
  155. sum()
  156. print(sum)
  157.  
  158. answer=input ("9.A recurring movement of sound or speech")
  159.  
  160. if answer=="rhythm":
  161. print("Correct!Heres your points")
  162. points.append(10)
  163. sum()
  164. print(sum)
  165.  
  166. elif answer=="rithem"or answer=="rithm" or answer=="rythem" or answer=="rhythem":
  167. print ("Almost right.It was rhythm")
  168. sum()
  169. print(sum)
  170.  
  171. else:
  172. print ("Sorry thats not it.It was rhythm. Heres your points")
  173. sum()
  174. print (sum)
  175.  
  176. print("Last question!!!Are you ready?")
  177. answer=input("cruel and oppressive government or rule")
  178.  
  179. if answer=="tyranny":
  180. print("correct!!!!heres your final points!!")
  181. points.append(10)
  182. sum()
  183. print(sum)
  184.  
  185. elif answer=="tirany" or answer== "tyrany" or answer=="tiranny":
  186. print("almost! it was tyranny. heres your final points")
  187. sum()
  188. print(sum)
  189.  
  190. else:
  191. print("sorry thats not the word.heres your final points")
  192. sum()
  193. print(sum)
  194.  
  195. print("lets see your results")
  196. if listylengthy==(100):
  197. print("well done!100%")
  198. listylengthy()
  199. print(listylengthy)
  200.  
  201. elif listylengthy==>(60):
  202. print("well done!you past")
  203. listylengthy()
  204. print(listylengthy)
  205.  
  206. elif listylengthy==<(60):
  207. print("better luck next time")
  208. listylengthy()
  209. print(listylengthy)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement