LessonAbout 8 minLesson languageEnglishதமிழ் (Tamil)हिन्दी (Hindi)മലയാളം (Malayalam)తెలుగు (Telugu)ಕನ್ನಡ (Kannada)বাংলা (Bengali)मराठी (Marathi)ગુજરાતી (Gujarati)ਪੰਜਾਬੀ (Punjabi)Chapter 10 · Lesson 4 of 504. The first piece and the restSplit 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.