Why does my print_grades( ) not work?



Why does my print_grades( ) not work?


Some common issues with this exercise include:

  1. Using return inside of your print_grades() function, rather than printing the values
  2. Not using the print_grades() function at the end of your program (outside of the function with no indentation) and passing it the grades list
  3. Looping incorrectly by printing the entire list each time, rather than just the loop variable for the single grade

FAQ: Learn Python - Exam Statistics - Print those grades