4. 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 1 to
maxInt (not including maxInt) that are divisible by both ints in twoInts.
trevor.summerfield@njit.edu
v1.3
1
Homework 06
CS 106 Fall 2024
Create three test cases, each consisting of a value for maxInt and a value for twoInts, 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.