See Exercise 7.9 in Chapter 7 Programming Exercise from the Bookfor the description.
Sample Run
Enter numbers: 1.9 2.5 3.7 2 1 6 3 4 5 2
The mean is 3.11
The standard deviation is 1.55738.
In Python.
Answer
def mean(list): l = len(list) i = 0 sum = 0 while i<l: sum += list[i] i+=1 return sum/ldef standardDeviation(list): m = mean(list) l = len(list) i =
OR
OR