Question: Write: a function named isDivisible that takes two parameters maxint, , an integer twoints, a tuple of two integers The function isDivisible should create and
Write: a function named isDivisible that takes two parameters
maxint, an integer
twoints, a tuple of two integers
The function isDivisible should create and return a list of all the ints in the range from to
maxInt not including maxInt that are divisible by both ints in twoInts.
Create three test cases, each consisting of a value for maxInt and a value for two Ints, for your
function isDivisible. One of these tests should return the empty list. For each test case write
two assignment statements and a function call that pass the test arguments to your function.
Print the result returned by your function.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
