Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Case Studies In Business Data Bases

Authors: James Bradley

1st Edition

0030141346, 978-0030141348

More Books

Students also viewed these Databases questions