<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>
<Below this line, add a link to the EXACT exercise that you are stuck at.>
Hello, I’m stuck in 11. 8. Part of Whole.
<In what way does your code behave incorrectly? Include ALL error messages.> This is my error message
“Oops, try again. get_class_average([alice]) resultou em um erro: global name ‘average’ is not defined”
<What do you expect to happen instead?>
```pythondef get_class_average(students):
results =
for student in students:
results.append(get_average(student))
return average(results)
<do not remove the three backticks above>
I would be very grateful if someone could give me some help.