# set up quiz
quiz_stages = [
    {
        "question": "How many legs does a human being have?",
        "answer": ["2", "two", "Two"]
    },
    {
        "question": "How many legs does an octopus have?",
        "answer": ["8", "eight", "Eight"]
    },
    {
        "question": "What is the biggest odd number less than 10?",
        "answer": ["9", "nine", "Nine"],
    },  
    {
        "question": "How many legs does a Whale have?",
        "answer": ["0", "none", "None", "Zero", "zero"]
    }
]

score = 0


# run quiz
for stage in quiz_stages:
    answer = input(stage["question"])
    if answer in stage["answer"]:
        print("Correct")
        score += 1
    else:
        print("Wrong")
        
        
# calculate score
total = len(quiz_stages)
percentage = (score/total) * 100

print(f"Well done for finishing, your score is {percentage}%!")

