Part of the Whole


#1

I have this:

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

also not working. Any ideas?


Part of the Whole problem
#2

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


#3

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