Not computing average


#1

I didn't worked. my code is

grades = [100, 100, 90, 40, 80, 100, 85, 70, 90, 65, 90, 85, 50.5]

def grades_sum(scores):
    total=0
    for x in scores:
        total+=x
    return total
grades_sum(grades)
def grades_average(grades):
    average = float(grades_sum(grades)) / len(grades)
    return average

5/9 Computing the Average - incorrect average
#2

The above line is doing nothing with the return value. It can be removed.


#4