As a refresher, let’s start off by writing a function to print out the list of grades, one element at a time.
Define a function on line 3 called
print_grades with one argument, a list called
Inside the function, iterate through
grades_input and print each item on its own line.
After your function, call
print_grades with the
grades list as the parameter.