jmquintana79
3/10/2017 - 4:41 AM

calculate if any number is the multiple of another number

calculate if any number is the multiple of another number

def multiple(value, multiple):
    rest = value % multiple
    if rest == 0:
        return True
    else:
        return False