## Question 7: statistics (8 marks) Write a program that asks the user to enter numbers until they enter the character '

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

## Question 7: statistics (8 marks) Write a program that asks the user to enter numbers until they enter the character '

Post by answerhappygod »

## Question 7: statistics (8 marks) Write a program that asks
the user to enter numbers until they enter the character 's' to
stop. Store the numbers in a numpy array. Print out the mean and
standard deviation of the values entered. Hints: (1) Use a while
loop to input values until the letter s is entered. (2) Append the
values to a list in the while loop and create a numpy array from
the list after all the values have been entered. (3) The method
std() returns the standard deviation of a numpy array.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply