Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Database Marketing The Ultimate Marketing Tool

Authors: Edward L. Nash

1st Edition

0070460639, 978-0070460638

More Books

Students also viewed these Databases questions

Question

When you want to make a formal impression

Answered: 1 week ago

Question

3. How has Starbucks changed since its early days?

Answered: 1 week ago