B4Coder
0%
LessonAbout 8 min

Chapter 10 · Lesson 4 of 5

04. The first piece and the rest

Split a problem into the first piece and the rest: add up a list, or the digits of a number, with a function that calls itself.

Opening the lesson…