Question: Create a test() function that takes an array as input and returns the minimum value, maximum value, mean, median, mode, standard deviation, variance, Quartile1,

Create a test() function that takes an array as input and returns 

Create a test() function that takes an array as input and returns the minimum value, maximum value, mean, median, mode, standard deviation, variance, Quartile1, Quartile3, and Quartile deviation of the array. Note: All values must be rounded off to 2 decimal places. Type of the final output must be tuple. Input Format For Custom Testing Array has the input. Sample Case 0 Sample Input For Custom Testing 10, 20, 30, 40,50,10,60,70 Sample Output (10, 70, 36.25, 35.0, 10, 21.18, 448.44, 17.5, 52.5, 17.5) Explanation minimum value = 10 maximum value = 70 mean = 36.25 median = 35.0 mode=10 standard deviation = 21.18 variance = 448.44 Quartile1(Q1) 17.5 Quartile3(Q3) 52.5 Quartile deviation = 17.5

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

import statistics import math def testarr arrsort n lenarr Min... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!