fix(r-1.4_scratch.py): corrected printing of every iteration of list object
This commit is contained in:
@@ -14,6 +14,7 @@ def squares_sum(n):
|
|||||||
while n >= 2:
|
while n >= 2:
|
||||||
n = n - 1
|
n = n - 1
|
||||||
list.append(n)
|
list.append(n)
|
||||||
|
if n == 1:
|
||||||
print(list)
|
print(list)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user