Question: Question 1a: Upper and Lower bounds (2 points) The upper bound (and lower bound) of a list of numbers is the largest (and lowest number

 Question 1a: Upper and Lower bounds (2 points) The upper bound

Question 1a: Upper and Lower bounds (2 points) The upper bound (and lower bound) of a list of numbers is the largest (and lowest number in the list. Write a Python function bound(L) that takes non-empty list L and returns its bound as a tuple. See the test cases for examples In 1201: def bound(L) min val -min(L) max val max(L) b-([min value, max value]) return 1b # Your code here

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!