Another program I made was one that would ask the user to introduce 10 numbers, then it would store those numbers in a list and output the total, average, and standard deviation of them.

First things first, I learned about lists in python from this page:

Also, I didn’t actually know the formula for standard deviation, so I looked it up and found these useful pages:

Finally, this other page helped me by giving me an idea of how to do it:

At the end, my program looked like this:


And worked like this:


2 thoughts on “Lists!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s