Problems with the get_class_average function


#1

Hello Everyone!

Unfortunately I seem to have run into some issues with the final function of this lesson and I have not been able to find what the error actually is. Of course that may be because I've been staring at the page for quite a while now :smile: Whenever I run my code it returns a syntax error for the return line. I have a picture of my code posted below, if anyone sees an error it would be greatly appreciated if you pointed it out.
Thanks


#2

Raw code is easier for helpers to work with than a picture. The picture helps, but we cannot select text from it or test run it. Please post code along with pictures. Thank you.

This line,

        results.append(get_average(student)

is missing a ) at the end.


#3

Thank you it finally worked!!