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 (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
Get step-by-step solutions from verified subject matter experts
