Learn
Exam Statistics
Print those grades

As a refresher, let’s start off by writing a function to print out the list of grades, one element at a time.

Instructions

1.

Define a function on line 3 called print_grades with one argument, a list called grades_input.

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.

Folder Icon

Take this course for free

Already have an account?