I can't figure out what I am doing wrong after I click submit this error code pops up

Oops, try again. Make sure you have defined get_average

here is the link to the problem: https://www.codecademy.com/courses/python-beginner-en-qzsCL/1/2?curriculum_id=4f89dab3d788890003000096

thank you for your help code is below

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