Playing around with recursion. For a definition see here.
This is an example of an iterated function. With an iterated function you run the function a certain number of times and use the output of one iteration as the input for the next. Simple but beautiful.

No comments:
Post a Comment