1. Engineering
2. Computer Science
3. having trouble with the last function and test question using...

# Question: having trouble with the last function and test question using...

###### Question details

Having trouble with the last function and test question. Using Python 3, you are asked to write a program with 4 functions and a test for these functions. The first function readList() reads from the keyboard a list of numbers. The numbers entered after being prompted, can be real numbers or integers separated by a space. The user is prompted by a message “Enter a set of numbers (separated by space):”. Once the numbers are entered, the function returns a list with these numbers sorted from the smallest to the largest. The second function calculateMean() receives a list of numbers and calculates. The mean is then returned as a float. The third function calculateStandarDev() receives a list of numbers and calculates the standard deviation. This standard deviation is returned as a float. The fourth function outlier() receives a list of numbers and returns a list of outliers from that initial list of numbers. An outlier is a number that is more than 3 standard deviations away from the Mean of the set of numbers. That is a number that is either bigger or smaller than the Mean by 3 times the standard deviation. Once you write these functions, you can test them separately. Then write a program that asks a user to enter a list of numbers, displays the list sorted, the mean and the standard deviation as well as the list of outliers (if any) for that entered list. You should be able to enter numbers with a decimal point. The program should ask you whether you want to enter another set of data or quit. Here is an example of output:  ###### Solution by an expert tutor 