Friday, 6 February 2015

Week #5: Recursion

Recursion is when a function calls itself.It uses the recurring patterns within the input to shorten the amount of code needed. By using recursion it allows the user to evaluate arbitrarily large inputs with several nested inputs quickly. I found that the examples using turtle were very helpful to visualize how recursion works and what exactly it does.

No comments:

Post a Comment