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)