Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

How flying airoplane?

Answered: 1 week ago