def calculateAvg(ages):
    length = len(ages)
    return (sum(ages.values()) / length)


ages = {
    "Peter": 10,
    "Isabel": 11,
    "Anna": 9,
    "Thomas": 10,
    "Bob": 10,
    "Joseph": 11,
    "Maria": 12,
    "Gabriel": 10,
    "Raj": 0,
}
print(calculateAvg(ages))
