R-1.1: eighth attempt-I think I got it
This commit is contained in:
+4
-6
@@ -1,10 +1,8 @@
|
||||
n = print(int(input('Give an integral value for n... ')))
|
||||
m = print(int(input('Give an integral value for m... ')))
|
||||
|
||||
def is_multiple(n, m):
|
||||
if n % m == 0:
|
||||
return True
|
||||
return False
|
||||
print(True)
|
||||
else:
|
||||
print(False)
|
||||
|
||||
is_multiple(n, m)
|
||||
is_multiple(12, 5)
|
||||
|
||||
Reference in New Issue
Block a user