# HOOT — simple OWL-style quiz (one question at a time)
questions = [
    {"q": "What spell creates light?", "a": "lumos"},
    {"q": "What spell extinguishes light?", "a": "nox"},
]

score = 0
for item in questions:
    answer = input(item["q"] + " ").strip().lower()
    if answer == item["a"]:
        print("Correct! +10 points")
        score += 10
    else:
        print("Not quite. The answer was:", item["a"])

print("Final score:", score)
