From 1891755808d9098afc4470a19eba0f470fa30093 Mon Sep 17 00:00:00 2001 From: baphim <269010393+baphim@users.noreply.github.com> Date: Fri, 4 Sep 2026 22:22:26 -0400 Subject: [PATCH] fix(r-1.4_scratch.py): corrected printing of every iteration of list object --- lab-01/r-1.4_scratch.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lab-01/r-1.4_scratch.py b/lab-01/r-1.4_scratch.py index cae72f7..5da9256 100644 --- a/lab-01/r-1.4_scratch.py +++ b/lab-01/r-1.4_scratch.py @@ -14,7 +14,8 @@ def squares_sum(n): while n >= 2: n = n - 1 list.append(n) - print(list) + if n == 1: + print(list)