Recursion is when you call a function inside the same function to do repetitive algorithms. I used this method in a Quiz to make a function that returns to you the position on the fibonacci sequence. Here is the code i used:
As you can see i did not use loops whit excersice.
Mastery 21 – Recursion by Jose Carlos Peñuelas Armenta is licensed under a Creative Commons Attribution 4.0 International License.