write a short python function, is multiple(n, m), that takes two integer values and returns true if n is a multiple of m, that is, n = mi for some integer i, and false otherwise.

Respuesta :

fichoh

The required program written in python 3 for the function named is_multiple which returns true or false depending on whether the argument is a multiple goes thus :

def is_multiple(m, n):

#initialize a function named is_multiple which takes two parameters

if(m%n) == 0 :

#checks if m divided by n does not leave a remainder

return True

#if it does, then return True as it is a multiple

return False

#if it does not , return False as it is not a multiple.

Learn more :https://brainly.com/question/17014621

ACCESS MORE