From baad5e9ff0c2f672f6ab5321f14a1a76cfb46b16 Mon Sep 17 00:00:00 2001 From: baphim <269010393+baphim@users.noreply.github.com> Date: Wed, 2 Sep 2026 20:38:38 -0400 Subject: [PATCH] R-1.1: changed input conversion from int to float to allow for broader input --- lab-01/r-1.1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lab-01/r-1.1.py b/lab-01/r-1.1.py index 4fe4f19..3a41870 100644 --- a/lab-01/r-1.1.py +++ b/lab-01/r-1.1.py @@ -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: '))) \ No newline at end of file