Question: in python You must complete the statistics function. This function takes as input a list or a tuple of numbers, of variable size, and returns

in python You must complete the statistics function. This function takes as input a list or a tuple of numbers, of variable size, and returns the minimum, maximum and average values of the data structure. Your function should check if the type entered is a tuple or a list. It is not necessary to verify that all values in the list or tuple are numbers. If the type entered is not a list or a tuple, you must return: "(None, None, None): Otherwise we return the minimum, maximum and average values of the data structure.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!