Skip to main content

Practice · 2 of 5

Predict: digit sum

CHALLENGE
Difficulty: intermediate+25 XP

Do NOT run the given code in your head lazily — build the frame table. f(492): frames 492, 49, 4, 0. Predict, then reproduce f in this file (the tests enforce the true values).

Back to lesson: Practice: MCQ clinic