Question: Help me to do question 7. Use python. Question 7: Finding Divisors (3 points) For this question you should write a function that finds all
Help me to do question 7. Use python. Question 7: Finding Divisors (3 points) For this question you should write a function that finds all of the numbers in the interval of 2003 and 3125 that are divisible by both the number 5 and the number 7. Your function should return a list of all the numbers that satisfy the above criterion. Hint: the modulo" operator defined by the "9%" symbol returns remainder for two numbers that are being divided. For example, writing the piece of code, "59%2 (reads as 5 "mod' 2) returns a value of 3 because when 5 is divided by 2, the remainder is 3. Try to use this modulo operator to help determine if a number in the range specified above is divisible by both 5 and 7. # write your solution to question 7 in this cell Define your function here # Call your function here
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
