Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def sum():
- points = []
- sum = 0
- for ans in range(0, len(points)):
- sum = sum + points[ans]
- points = []
- listylenghty=len(points)
- print(listylengthy)
- print ("Welcome to the test!!!!")
- 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")
- print("Goodluck!")
- answer=input ("1.To accept that something is true without proof")
- if answer=="believe":
- print("thats correct! heres your points")
- points.append (10)
- print(points)
- elif answer=="beleeve"or answer=="beleve"or answer=="believ"or answer=="belev":
- print ("sorry thats incorrect it was believe")
- else:
- print("thats not the word it was believe sorry")
- print("here are your points!")
- print (points)
- answer=input("2. without doubt")
- if answer=="definitely":
- print("thats correct!heres your points")
- sum()
- print(sum)
- elif answer=="definatly" or answer=="definately"or answer=="defo":
- print("nope so close though it was definitely, heres your points")
- sum()
- print (sum)
- else:
- print("thats not the word sorry it was definitely,heres your points")
- sum()
- print (sum)
- answer=input ("3.a high ranking miliary officer")
- if answer=="colonel":
- print ("thats correct!heres your points")
- sum()
- print (sum)
- elif answer=="kernal"or answer== "cernal" or answer=="kernul"or answer=="cernul"or answer=="kernel":
- print("almost,not quite it was colonel, heres your points")
- sum()
- print (sum)
- else:
- print("not the right word sorry it was colonel.heres your points")
- sum()
- print(sum)
- answer=input ("4.a vertical structure that holds something up")
- if answer=="column":
- print ("thats correct!heres your points")
- points.append (10)
- sum()
- print (sum)
- elif answer=="colum"or answer=="colm"or answer=="culume"or answer=="colom":
- print("almost it was colummn,heres your points")
- sum()
- print(sum)
- elif answer=="shaniqua":
- print("yasssss") #requested by Aoife
- sum()
- print(sum)
- else:
- print("thats not the word it was column.heres your points")
- answer=input ("5.freedom from responsibilities and tasks")
- if answer=="leisure":
- print("Thats correct!Heres your points")
- points.append(10)
- sum()
- print (sum)
- elif answer=="lesure"or answer=="lesher"or answer=="leisur"or answer=="leser"or answer=="leshur":
- print("Not quite it was leisure.Heres your points")
- sum()
- print(sum)
- else:
- print ("Sorry thats not the word it was leisure. Heres your points")
- sum()
- print(sum)
- answer=input ("6.Device with a short bar between two weights, used for exercise")
- #100th line!
- if answer== "dumbbell":
- print ("Thats correct!Heres your points")
- point.append(10)
- sum()
- print (sum)
- elif answer== "dumbell" or answer== "dummbell"or answer== "dumbel":
- print ("Not quite sorry, it was dumbbell. Heres your points")
- sum()
- print (sum)
- else:
- print ("No sorry it was dumbell.Heres your points so far")
- sum()
- print (sum)
- answer=input ("7.To spell incorrectly")
- if answer== "misspell":
- print("Thats it! not too hard but well done!Heres your points")
- points.append(10)
- sum()
- print (sum)
- elif answer=="mispell" or answer== "miss spell" or answer== "mispel":
- print("Almost it was misspell.Heres your points")
- sum()
- print (sum)
- else:
- print("Nope sorry it was misspell.heres your points")
- sum()
- print(sum)
- answer=input ("8.To live by or be near someone")
- if answer=="neighbour":
- print("Thats correct!Heres your points")
- points.append(10)
- sum()
- print(sum)
- elif answer=="neighbor" or answer=="nayber"or answer=="neihber" or answer=="neyber" or answer=="neighbur":
- print("Almost,it was neighbour. Heres your points")
- sum()
- print(sum)
- else:
- print("Thats not it sorry, it was neighbour.Heres your points")
- sum()
- print(sum)
- answer=input ("9.A recurring movement of sound or speech")
- if answer=="rhythm":
- print("Correct!Heres your points")
- points.append(10)
- sum()
- print(sum)
- elif answer=="rithem"or answer=="rithm" or answer=="rythem" or answer=="rhythem":
- print ("Almost right.It was rhythm")
- sum()
- print(sum)
- else:
- print ("Sorry thats not it.It was rhythm. Heres your points")
- sum()
- print (sum)
- print("Last question!!!Are you ready?")
- answer=input("cruel and oppressive government or rule")
- if answer=="tyranny":
- print("correct!!!!heres your final points!!")
- points.append(10)
- sum()
- print(sum)
- elif answer=="tirany" or answer== "tyrany" or answer=="tiranny":
- print("almost! it was tyranny. heres your final points")
- sum()
- print(sum)
- else:
- print("sorry thats not the word.heres your final points")
- sum()
- print(sum)
- print("lets see your results")
- if listylengthy==(100):
- print("well done!100%")
- listylengthy()
- print(listylengthy)
- elif listylengthy==>(60):
- print("well done!you past")
- listylengthy()
- print(listylengthy)
- elif listylengthy==<(60):
- print("better luck next time")
- listylengthy()
- print(listylengthy)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement