3/9 Exam Statistics


#1

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

def grades_sum(score):

need help


#2

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

def grades_sum(grades):
total_sum=0
for i in grades:
total_sum=total_sum+i
print total_sum
return total_sum

print grades_sum(grades)


#3

It works for me.

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

def print_grades(grades):
    for n in grades:
        print n

print_grades(grades)