Part of theWhole


#1


File "python", line 55
SyntaxError: 'return' outside function


Replace this line with your code. 

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


#2

You are close; little things holding you up:
1. what word do you need before defining a function?
2. what punctuation mark is used after naming a function?
3. You used two different names for your function.


#3

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