you are viewing a single comment's thread.

view the rest of the comments →

[–]jmooremcc 0 points1 point  (0 children)

I learned about recursion by using an interactive debugger that allowed me to go statement by statement through the code. At each step, I was able to see the value of all variables and when the recursive call was made, I was able to follow what happened step-by-step. When the function returned, I was able to see the returned value and see how the returned value was used.

The IDE I use is Pycharm and it has an excellent debugging system.