Statement:
Given two integers, determine if the first number is a multiple of the second.
Solution:
number1 = int(input("Write a number"))
number2 = int(input("Write other number"))
if number1 % number2 == 0:
print(f'Is multiple of {number1}')
else:
print(f'Is not a multiple of {number2}')
Top comments (0)