4 points · by rbanffy · 5y ago · 2 comments
I think the "pythonic" way to handle it though is to not use recursion in the first place, and write the loops into your functions directly