2019-11-15: init

This commit is contained in:
2019-11-15 03:29:24 +09:00
commit 9780f1b736
32 changed files with 633 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
while True:
inp = tuple(map(int, input().split()))
if inp[0] == inp[1] == 0:
break
else:
if inp[0] >= inp[1]:
s = "multiple" if inp[0] % inp[1] == 0 else "neither"
else :
s = "factor" if inp[1] % inp[0] == 0 else "neither"
print(s)