Question
def compute_stdev(a_list): What it takes? a list of numbers what it does? given a list of numbers compute the standard deviation (find the formula
def compute_stdev(a_list): """ What it takes? a list of numbers what it does? given a list of numbers compute the standard deviation
(find the formula for standard deviation online if you dont remember it)
Here are the steps that you will follow:
1. find the mean of the numbers 2. subtract the mean from each numbers 3. square the differences 4. sum the differences 5. divide by (the size (len) of the list - 1) if there are 5 items in the list, divide it by 4 6. take the square root of the result 7. return it what it returns? a number (float), which is the standard deviation """ # your code goes in here return
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started