Answer:
Program :
x=float(input("Enter first number")) #take first inputs
y=float(input("Enter second number")) #take second inputs
if(x%y==0): #check the number is divisible or not
print("The number is divisible") #print for true.
else:
print("The number is not divisible") # print for false.
Output:
Explanation: