Here is my code:
grades = [100, 100, 90, 40, 80, 100, 85, 70, 90, 65, 90, 85, 50.5] def grades_sum(scores): total = 0 for i in scores: total += i return total def grades_average(grades): average = grades_sum(grades) / len(grades) print average
and my error:
Oops, try again. You did not print the correct average. Double-check your code and make sure you print the average!
and a print screen for reference:
So how is my output a different average than codecademy is looking for?