Please, explain what did I do wrong.

https://www.codecademy.com/courses/python-intermediate-en-7mgOa/1/1?curriculum_id=4f89dab3d788890003000096#

I got:

Oops, try again. Make sure to print the result of the grades_sum() function.

I expect:

1045.5 and cup of coffee, finally

```
def grades_sum(scores):
'''(list) -> float
>>>grades_sum([1, 2])
3
>>>grades_sum([100, 100, 90, 40, 80, 100, 85, 70, 90, 65, 90, 85, 50.5])
1045.5
>>>grades_sum([34, 62, 44])
140
'''
total = 0
for grade in scores:
total += grade
return total
print(grades_sum(scores))
```