10 lines
230 B
Python
10 lines
230 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: ')))
|
|
|