Python: trace recursive function

Dmitry Belaventsev
1 min readMar 23, 2019

--

During my way on Software Engineering path I’m facing problems of different kind. And I love when it’s time to solve some “pure programming” task. Let’s take a look on the assignment I was asked to help with.

Let me share the result code with comments:

Do you love that solution? Do you think you could make it in more elegant way? Looking forward to hear from you! :)

--

--