Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started