From 474b0c6a20c44d4a3ae6d8d26916b4032eaab5a0 Mon Sep 17 00:00:00 2001 From: baphim <269010393+baphim@users.noreply.github.com> Date: Fri, 4 Sep 2026 22:20:34 -0400 Subject: [PATCH] feat(r-1.4_scratch.py): appended calculated values of n to a list --- lab-01/r-1.4_scratch.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lab-01/r-1.4_scratch.py b/lab-01/r-1.4_scratch.py index 0b0014b..cae72f7 100644 --- a/lab-01/r-1.4_scratch.py +++ b/lab-01/r-1.4_scratch.py @@ -13,8 +13,10 @@ def squares_sum(n): list = [] while n >= 2: n = n - 1 - print(n) + list.append(n) + print(list) + -squares_sum(12) \ No newline at end of file +squares_sum(5) \ No newline at end of file