Log in from a computer to take this course

You'll need to log in from a computer to start Learn Python 2. But you can practice or keep up your coding streak with the Codecademy Go app. Download the app to get started.

apple storegoogle store

You’ve done a great job completing this program.

We’ve created quite a few meaningful functions. Namely, we’ve created helper functions to print a list of grades, compute the sum, average, variance, and standard deviation about a set of grades.

Let’s wrap up by printing out all of the statistics.

Who needs to pay for grade calculation software when you can write your own? :)



Print out the following:

  • all of the grades
  • sum of grades
  • average grade
  • variance
  • standard deviation

Take this course for free

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?