Recursion in Python

We’ve seen examples of where one function calls another. For example inside of main, you see that load_data(), total(), and average() are called. Recursion is where a function, calls itself. As you can see, calling yourself is “easy” but also “dangerous”. You can easily end up in an infinite recursive loop, that is until you…