Question: 3) Boolean function isinRange a) Define a Boolean function that will return True if a value to be checked is within a range of a
3) Boolean function isinRange a) Define a Boolean function that will return True if a value to be checked is within a range of a lower and an upper limit (both limits included). False otherwise. The function has three parameters, the (float) value to be checked, the lower limit and Coquitlam College CSCl 120 -Spring 2023 Lab 08-3 Using Fruitful (value-returning) Functions Rito Ester the upper limit. b) Call your function once as follows testValue =4.2 lowerBound =3 upperBound =9 if isinRange(testValue, lowerBound, upperBound) = = True: print('valid') else: print((invalid') Use your function again with a different testValue, so that the other branch of the if-statement will be executed. Challenge: Use isinRange in problem 2. You must submit your own work and only use concepts being taught in class. No break, no continue, no pass statement in your solutions, (Otherwise your submission will be marked as 0\%) Submit one file (myFunctions.py) with all your functions before the due date
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
