โ† All lessons

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.

See the free lessons