Check whether a given number is divisible by other given number
Answers
Answered by
0
Answer is no number and which number is divided
Answered by
2
Python coding:
a = int(input("Enter a number: "))
b = int(input("Enter another number: "))
if a%b == 0:
print("Divisible")
else:
print("Not divisible")
Similar questions