Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python number divisible by two other numbers

def is_divisible(n,x,y):
    divisible_one = n % x
    divisible_two = n % y
    if divisible_one == 0 and divisible_two ==0:
        return print(True)
    else:
        return print(False)
 
PREVIOUS NEXT
Tagged: #python #number #divisible #numbers
ADD COMMENT
Topic
Name
7+1 =