This is a minor issue, but whatever.
- Define a function called
get_class_averagethat has one argument
students. You can expect
studentsto be a list containing your three students.
- First, make an empty list called
- For each
studentitem in the
get_average(student)and then call
results.append()with that result.
- Finally, return the result of calling
I think that should be For each
student item in the
students list, not
class list. The argument is named
class is a reserved keyword in Python.