9. Review. I don't seem to pass the easiest hurdle -and I can't see why?


#1

I am having a problem printing all the entries on the list [grades].

I tried a few things like

> def print_grades(grades):
>     for grade in grades:
>         print(grade)

> def print_grades(grades):
>     for grade in grades:
>         return grade
> print(print_grades(grades), ' grades')

#2

Thank you for looking.
I found the problem. I could not print from inside the function.