Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Task 1 ( of 3 ) Create a Python function named Stats that: - Has one input argument: a list of numerical values of any
Task 1 ( of 3 ) Create a Python function named Stats that: - Has one input argument: a list of numerical values of any length. - Calculates the average and standard deviation for the data in the list. Note: use the equations given in class (and loops) to make the calculations - do not use the functions from the Python Statistics Library. - Returns the average and standard deviation. Note: when computing standard deviation use the equation for a sample, not a population. Test Value: Stats([2, 4, 7, 10, 16, 17, 20]) should return an average and standard deviation of: (10.857142857142858,6.938505396903366)
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