Question
I need to write a python code. These are the instructions. Implement the following problem as a self-contained python module. Write a program that continually
I need to write a python code. These are the instructions.
"Implement the following problem as a self-contained python module. Write a program that continually prompts the user for positive integer values and stores them in a list. You should stop prompting when the user enters a negative integer value. When the user is done entering values, you should print the list of integers they have provided in sorted order. You should then compute the mean and standard deviation of the values in the list. You should not be using any built in modules that calculate variance/standard deviation for you,"
I know I need to use a list function for this but I'm wondering about using a for vs. while loop.
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