def collect(n, acc=[]):
acc.append(n)
if n == 0:
return acc
return collect(n - 1, acc)
print(collect(2), collect(1))
Post #2941
616
Что выведет код?