# House point totals — keys are houses, values are scores
house_points = {
    "Gryffindor": 350,
    "Ravenclaw": 310,
    "Hufflepuff": 290,
    "Slytherin": 275
}

for house, points in house_points.items():
    print(house + ":", points, "points")

# get() returns a default if the key is missing (safer than [])
student = {"name": "Harry", "house": "Gryffindor", "points": 120}
owl_grade = student.get("owls", "not yet taken")
print("OWLs:", owl_grade)
