def average(numbers):

total = sum(numbers)

total = float(total)

```
avg = total/len(numbers)
return avg
def get_average(student):
homework = average(student["homework"]
quiz = average(student)["quizzes"]
tests = average(student)["tests"]
fin = homework*0.1 + quiz*0.3 + tests*0.6
return fin
```

I am getting a syntax error, I cant understand what i have done wrong

File "python", line 31

quiz = average(student)["quizzes"]

^

SyntaxError: invalid syntax