num1 = int(input('Enter a number: ')) num2 = int(input('Enter a number: ')) if num2%num1 == 0: print(' ') print(num2, 'is a multiple of', num1) elif num1%num2 == 0: print(' ') print(num2, 'is a factor of', num1) else: print('These numbers are not related.')