Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
You will be writing a homework using functions to get a list of integers from a user and then find statistics of the given list of integers. You are not allowed to use any built in functions for finding the calculations in this assignment. The functions required for this assignment will be: printMenu()-Prints a menu of options to the screen getList()-Gets list of integers from user using a while loop and returns the list getMean(userList)-Returns the average of the integers contained in the list given by the user getMedian(userList)-Returns the median of the integers contained in the list given by the user printGraph(userList)-Prints a horizontal histogram of the elements in the list getMin(userList)-Finds the lowest value in the set using a for loop and then prints value to screen getMax(userList)-Returns the highest value in the set using a for loop Example output: Welcome to the List Statistics Calculator To begin, enter a list of integers or to end the list! Enter an integer: 67 Enter an integer: 100 Enter an integer: 50 Enter an integer: 100 Enter an integer: 50 Enter an integer: 50 Enter an integer: 60 Enter an integer: q Please choose the statistic that you would like to calculate! 1. Mean 2. Median 3. Min 4. Max 5. Graph Please enter your choice, or 0 to exit: 1 The mean of this data set is 68.142 Please choose the statistic that you would like to calculate! 1. Mean 2. Median 3. Min 4. Max 5. Graph Please enter your choice, or 0 to exit: 2 The median of this data set is 60 Please choose the statistic that you would like to calculate! 1. Mean 2. Median 3. Min 4. Max 5. Graph Please enter your choice to exit:3 The max of this data set is 100 Please choose the statistic that you would like to calculate! 1. Mean 2. Median 3. Min 4. Max 5. Graph Please enter your choice, or 0 to exit: 4 The min of this data set is 50 Please choose the statistic that you would like to calculate! 1. Mean 2. Median 3. Min 4. Max 5. Graph Please enter your choice to exit: 5 50: X X X 60: X 67: X 100: X X Please enter your choice to exit: 0 Goodbye! When you've finished your homework, use the submit command to submit the file. You must be logged into your account and you must be in the same directory as the file you're trying to submit. At the Linux prompt, type submit cs201 HW6 hw6.py
For some time, popular music has been distributed on physical CDs. It can now be distributed in MP3 files. Explain the nature of the similarity or difference.
How do components of computer system interact within system? What improvements or additions to system do you believe would benefit you or make system more user-friendly?
how can two cubical (six sided) dice be labelled using numbers {0,1,2,3,4,5,6} so that when the two dice are thrown, the sum has a uniform probability distribution over the integers ( 1,2...12}.The same number can repeat more than once on a face of e..
What is the difference between the If Then ElseIF clause and a Nested If Block? Please provide examples of how you would use each.
if productCost and productPrice are numeric variables, and productName isa string variable, which of the following statements are valid assignments
When creating classes you have member functions and member variables. What are they and what data types can you use for member variables
Your plan requires two sections, one for deployment and another for ongoing operation after implementation. The vendor offers a contracting service for installation at $140 per hour.
The Evolution of E-Marketing Tools
Design a robot that can perform any function or activity you choose from an automatic laundry robot to a customer service robot.
As part of the auditing team in capacity of a Digital Forensics expert, your task is to prepare a report explaining the possible methods that can be adopted in this particular scenario, resources required for the methods chosen for this investigat..
write a C++ program that calculates the distance of a golf ball fallen in with each one-seconds interval drop from airplane calculate the distance in the current time Interval (ft) and total distance the golf ball falls at the end of each interval..
Then implement function drawLevy() so it takes non-negative integer n as input and draws the levy curve Ln using instructions obtained from function levy(). Don't forget doc strings and comments.
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +1-415-670-9521
Phone: +1-415-670-9521
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd