Python Quiz
This Jupyter Notebook demonstrates my understanding of python with a quiz that has no reoccurring code
question = ["what is the fastest plane in the world", "what is the hightest flying plane in the world", "what is the largest plane in the world", "what is the smallest plane in the world"]
answer = ["SR-71", "X-15", "An-225", "BD-5J"]
points = 0
print("Take this quiz about planes.")
for i in range(len(question)):
print(question[i])
response = input()
print(response)
if response == answer[i]:
points += 1
print("Correct, you have ", points, " points!")
else:
print("Incorrect, the answer was; ", answer[i])
print("You have finished the quiz with ", points, " out of ", len(question), " points!")