Lesson 40 of 62 ยท about 18 minutes
Recursion ๐ช
Recursion ๐ช A recursive function is one that calls itself. That sounds like a recipe for an endless loop, and it would be, except that each call works on a smaller version of the problem until it reaches one so small the answer is obvious. Recursion shinesโฆ
This lesson is part of Pythonaut Pro. The first two lessons are free, so you can start there and see how it works.