The program asks the user for 10 numbers and stores those numbers in a list as floats. It then shows to the user the total, average and standard deviation of those numbers.

I used a while loop to ask the user the 10 numbers, while adding them on a list, then a for loop to get the sum of the elements on the list, the result of that sum divided by the function len(list) to get the average and finally the statistics library for the standard deviation.

The code is found here:

https://github.com/CarminaP/WSQ/blob/master/WSQ10.py

CC BY 4.0 WSQ10 – Lists by carminaperezguerrero is licensed under a Creative Commons Attribution 4.0 International License.