Write a function that accepts two positive numbers n and m where m<=n, and returns numbers between 1 and n that are divisible by m.
Answers
Answered by
9
Explanation:
10 hours ago · Write a function that accepts two positive numbers n and m where m<=n, and returns numbers between 1 and n that are divisible by m.
Answered by
2
Answer:
Explanation:
lower=int(input("Enter lower range limit:"))
upper=int(input("Enter upper range limit:"))
#n=int(input("Enter the number to be divided by:"))
for i in range(lower,upper):
if(i%lower==0):
print(i)
Similar questions