Question: In Python please. Write a function that takes as input a single parameter storing a list of integers and returns the minimum and maximum values
In Python please. Write a function that takes as input a single parameter storing a list of integers and returns the minimum and maximum values in the list as a tuple. The first element in the tuple should be the minimum value and the second element should be the maximum value.
Write a function that takes as input a single parameter storing a list of integers and returns the minimum and maximum values in the list as a tuple. The first element in the tuple should be the minimum value and the second element should be the maximum value. For example, if the input is the list [0,3,-1,10] then your function should return the tuple (-1,10) 298800.1841692.qx3zqy? LAB ACTIVITY 17.1.1: Midterm Problem 1 0/15 main.py Load default template... 1 def get_min_max(int_list): 2 # your code goes here return 6 if 7 name__ == '_main__': # you can use this to test your code print(get_min_max ([0,3,-1,10]))
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
