How to write a program in python to check the divisibility of 10 by any number by it
?
Answers
Answered by
1
Answer:
def multiple(m, n):
return True if m % n == 0 else False
print(multiple(20, 5))
print(multiple(7, 2))
Explanation:
def multiple(m, n):
return True if m % n == 0 else False
print(multiple(20, 5))
print(multiple(7, 2))
Similar questions