Part of the Whole


I have this:

def get_class_average(students):
results = []
for student in students:
return average(results)

also not working. Any ideas?

Part of the Whole problem

Hi @jlm255 ,

Your code is not formatted, so users cannot see how it is indented.

See How do I format code in my posts?.

Is this statement indented too much? ...

return average(results)

Link to exercise: Part of the Whole


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.