Files

10 lines
218 B
Python

def is_multiple(n, m):
if n % m == 0:
print(True)
else:
print(False)
print('Is "n" a multiple of "m"?')
is_multiple(float(input('Give a value for n: ')), float(input('Give a value for m: ')))