8/9 Part of the Whole


#1

Oops, try again. get_class_average([alice]) resulted in an error: global name 'result' is not defined.

This is the error i'm getting...this is my code:

def get_class_average(students):
results= []
for each in students:
result.append(get_average(student))
return average(results)

Please help.


#2

Which is true, it isn't. Your code shows, results.