SyntaxError: invalid syntax

i don't know why i get syntax error can someone please help me?

```
def average(numbers):
from math import *
total=sum(numbers)
total=float(total)
total=total/len(numbers)
return total
def get_average(student):
homework=average(student["homework"])
quizzes=average(student['quizzes'])
tests=average(student['test']
return 0.1 * homework+0.3 * quizzes+0.6 * tests
```