How can I ensure I’m printing everything properly?



How can I ensure I’m printing everything properly?


In this last exercise, Review, we are not creating any new functionality in our program. We’re simply calling all of the functions we’ve built to this point so we can see the output!
When using print_grades(), pass it the grades list, and there’s no need to write print before it because that’s what the function does inside already.
From the previous lessons, you should already have the variance and standard deviation printed out, so all that’s left is printing the sum and average by using the corresponding functions.
If you didn’t yet, be sure to define variance outside of any functions and set it to grades_variance(grades). Having that variable allows us to pass it to our grades_std_deviation() function.

FAQ: Learn Python - Exam Statistics - Review