Question: python plzz fast You are supposed to write a program which can calculate three descriptive statistics (i.e., max, min, and mean). You can pack these
You are supposed to write a program which can calculate three descriptive statistics (i.e., max, min, and mean). You can pack these values using tuple while returning them in a function. Please complete a statement which can unpack returned values to three variables. In other words, please write a statement which can assign three returned values to three variables (low, high, and mean). The location of the missing statement is indicated in comments in the following code. def get_statistics (number_list): min_val = min(number_list) max_val = max (number_list) nean_val = sun(number_list) / len(number_list) return (min_val, max_val, mean_val) numbers = [5, 3, 2,7,2,5] =\# the missing statement should cone here, and you need to write a statement. print(low) print(high) print(mean)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
