Any help would be greatly appreciated . I just can’t get where my error is

```
grades = [100, 100, 90, 40, 80, 100, 85, 70, 90, 65, 90, 85, 50.5]
def grades_sum(scores):
total = 0
for scores in grades:
total += scores
return total
print grades_sum(grades)
def grades_average(grades_input):
grades_sum(grades_input)
averages = float(grades_sum(grades_input) / (len(grades_input)))
return averages
print(grades_average(grades))
```

The console is printing : 1045.5

80.4230769231

I don’t want to click on solution.