From e69828f12c3d675e144588679b4719a48d24f4e8 Mon Sep 17 00:00:00 2001 From: baphim <269010393+baphim@users.noreply.github.com> Date: Thu, 3 Sep 2026 21:55:19 -0400 Subject: [PATCH] feat(r-1.3_scratch.py): Started again after more reading --- lab-01/r-1.1.py | 1 + lab-01/r-1.2.py | 1 + lab-01/r-1.3_scratch.py | 5 +++-- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lab-01/r-1.1.py b/lab-01/r-1.1.py index 0781b86..e4c8f07 100644 --- a/lab-01/r-1.1.py +++ b/lab-01/r-1.1.py @@ -4,6 +4,7 @@ def is_multiple(n, m): 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: '))) \ No newline at end of file diff --git a/lab-01/r-1.2.py b/lab-01/r-1.2.py index 478d1f1..a555434 100644 --- a/lab-01/r-1.2.py +++ b/lab-01/r-1.2.py @@ -14,5 +14,6 @@ def is_even(k): else: print(False) + print('Is "k" an even number?') is_even(int(input('Give a value for k: '))) \ No newline at end of file diff --git a/lab-01/r-1.3_scratch.py b/lab-01/r-1.3_scratch.py index 07d27d3..870f8e2 100644 --- a/lab-01/r-1.3_scratch.py +++ b/lab-01/r-1.3_scratch.py @@ -9,7 +9,8 @@ I will start again soon, scrapping the input loop idea and just focusing on function itself. """ -def minmax(data): - +def minmax(*data): + print(data) +minmax(24, 3, 84.26, -15) \ No newline at end of file