3. Write a function that will take 3 arguments minimum, maximum, and divisor. You have to find all the numbers that are divisible by the divisor where the minimum value is inclusive and the maximum value is exclusive. Add all the numbers and return the value. Sample Input Sample Output (0.10.2) 20 (3.16,3) 45
Attachments:
Answers
Answered by
0
Answer:
Python -
def myfun(min, max, div):
sum = 0
for i in range(min, max):
if i%div == 0:
sum += i
print(sum)
Like and Mark as Brainliest, it really motivates!
Similar questions
Math,
26 days ago
Hindi,
26 days ago
Economy,
1 month ago
CBSE BOARD X,
9 months ago
English,
9 months ago