Run ❯
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
# Import statistics Library import statistics # Calculate the standard deviation from a sample of data print(statistics.stdev([1, 3, 5, 7, 9, 11])) print(statistics.stdev([2, 2.5, 1.25, 3.1, 1.75, 2.8])) print(statistics.stdev([-11, 5.5, -3.4, 7.1])) print(statistics.stdev([1, 30, 50, 100]))
3.7416573867739413
0.6925797186365384
8.414471660973929
41.67633221226008