It looks like my code works, but it returns the wrong answer for student alice

Here is the complete code:

lloyd = {

"name": "Lloyd",

"homework": [90.0, 97.0, 75.0, 92.0],

"quizzes": [88.0, 40.0, 94.0],

"tests": [75.0, 90.0]

}

alice = {

"name": "Alice",

"homework": [100.0, 92.0, 98.0, 100.0],

"quizzes": [82.0, 83.0, 91.0],

"tests": [89.0, 97.0]

}

tyler = {

"name": "Tyler",

"homework": [0.0, 87.0, 75.0, 22.0],

"quizzes": [0.0, 75.0, 78.0],

"tests": [100.0, 100.0]

}

```
from math import *
def get_average(student):
for key in student:
if key=="homework":
avg_homework=sum(student["homework"])/len(student["homework"])
return avg_homework
elif key=="quizzes":
avg_quizzes=sum(student["quizzes"])/len(student["quizzes"])
return avg_quizzes
elif key=="tests":
avg_homework=sum(stduent["tests"])/len(student["tests"])
return avg_tests
return 0.1*avg_homework + 0.3*avg_quizzes + 0.6*avg_tests
print get_average(lloyd)
print get_average(alice)
print get_average(tyler)
```

No error message shows up for the code itself, and it prints out the average values for the three students:

74.0

85.3333333333

51.0

But the print-out value for student alice is not what the system expects, it shows this:

**Oops, try again. get_average(alice) returned 85.3333333333 instead of the expected 91.15**

Can anyone explain why I got the wrong answer for alice?

BTW, I did the indentations right.

Thanks