Write a Python program to Check Divisibility of 2 numbers


Topic: Write a Python program to Check Divisibility of 2 numbers

Solution

nominator = int (input ("Enter Nominator: "))
denominator = int (input ("Enter Denominator: "))
if nominator % denominator == 0:
print("{} is completely Divisible by {}".format(nominator, denominator))
else:
print ("{} is not completely Divisible by {}".format(nominator, denominator))



List all Python Programs