R-1.1: changed input conversion from int to float to allow for broader input

This commit is contained in:
baphim
2026-09-02 20:38:38 -04:00
parent 6dba244a47
commit baad5e9ff0
+1 -1
View File
@@ -4,5 +4,5 @@ def is_multiple(n, m):
else:
print(False)
print('Is "n" a multiple of "m"?')
is_multiple(int(input('Give a value for n: ')), int(input('Give a value for m: ')))
is_multiple(float(input('Give a value for n: ')), float(input('Give a value for m: ')))