working with laptop 4

Every time I go to write a recursive function, and I’ve written a few, I have to think it out.

For those of you that aren’t familiar with recursion, the idea behind recursion is that the function that’s currently being executed calls itself until a certain condition is met.

Here’s a short example:

Continue reading