#9 How is everybody doing


#1




Oops, try again. Did you remember to print the average of the class? It looks like "83.8666666667" wasn't printed.


def get_class_average(students):
    students=[lloyd,alice,tyler]
    results = []
    for l in students:
        results.append(get_average(l))
    return average(results)    
    
    print (get_class_average(students))
    print (get_letter_grade(average(results)))


#2

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

try that it should work


#3

def get_class_average(students):

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

print get_class_average(students)
print get_letter_grade(get_class_average(students))

Now the error is -One of the following is missing or broken when we tried to use it: alice, lloyd, tyler, students, get_class_average, get_letter_grade


#4

Please paste the complete code here. I will try and look at it. I need the complete code from beginning where you have created the students.


#5

I already fixed it, thank you anyways


#6

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