Question: 3.2. Write a function in Python, printSet(L,H), which will find all such numbers which are divisible by 7, but are not a multiple of 5,
3.2. Write a function in Python, printSet(L,H), which will find all such numbers which are divisible by 7, but are not a multiple of 5, between two positive integers L and H (both are input parameters). You can consider that H > L. The numbers obtained should be add to the set S. Your program must: (a) print the set S. (b) print True if the cardinality of S is greater or equal than 15% of the total number of integers between L and H (both are input parameters); False otherwise.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
