From 748913cd9194d251ebdb98245bd860900da4388e Mon Sep 17 00:00:00 2001 From: baphim <269010393+baphim@users.noreply.github.com> Date: Thu, 3 Sep 2026 22:26:00 -0400 Subject: [PATCH] fix(r-1.3_scratch.py): correctly formatted input and output --- lab-01/r-1.3_scratch.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lab-01/r-1.3_scratch.py b/lab-01/r-1.3_scratch.py index dcaf651..5febcd2 100644 --- a/lab-01/r-1.3_scratch.py +++ b/lab-01/r-1.3_scratch.py @@ -10,8 +10,9 @@ function itself. """ def minmax(*data): - data = sorted(data) - print(tuple(data[0], data[-1])) + ordered = sorted(data) + data = (ordered[0], ordered[-1]) + print(data) minmax(24, 3, 84.26, -15) \ No newline at end of file