Python: Recursion
Solving a problem by solving a smaller copy of it — and always leaving a way out.
Lessons in this course
- Always Leave a Way OutWithout a stopping case it never ends. About this lesson
- Every Call WaitsThe unfinished calls pile up. About this lesson
- The Answer Comes Back UpEach call adds its own piece on the way out. About this lesson
Every lesson is learn-by-doing: make a guess, try it, see the rule, then practise. Progress saves on this phone.