Https://www.codecademy.com/courses/learn-python/lessons/exam-statistics/exercises/review-2?action=lesson_resume


#1

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>

<In what way does your code behave incorrectly? Include ALL error messages.>

<What do you expect to happen instead?>

```python

Replace this line with your code.

<do not remove the three backticks above

when i do "print print_grades(grades) " instead of "for grade in grades:
  print grade" 
why is there a "none" at the end of the printed out grades

#2

By default, functions return None

by adding a print statement in front of the function call, the returned result will be printed.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.