Hello, I not found in this repository about this grammar. so, I open this issue.
My CPython version is 3.7.1
- list recursion (reference )
class C:
def f1(self, a):
if a[0][0] == 0:
return a
else:
a[0][0] -= 1
self.f1(a)
return a
print(C().f1([[5, 2],[3, 4]]))
result:
- variable recursion (copy)
class C:
def f1(self, a):
if a == 0:
return a
else:
a -= 1
self.f1(a)
return a
print(C().f1(3))
result
Just defining functions is the same.
Thank you.
Hello, I not found in this repository about this grammar. so, I open this issue.
My CPython version is 3.7.1
result:
result
Just defining functions is the same.
Thank you.