Reeksoverzicht

Python Bakery

Loop composition

This lesson covers loop composition: building a function from existing helper functions, such as sum and count, instead of one loop doing everything at once. Students compose given functions into new ones, define their own helper functions, and decide the order they must be called in.