Reeksoverzicht

Python Bakery

For loop patterns 2

This lesson continues the loop patterns with find, take and min/max, built around a condition checked inside the loop. Students use find to locate a matching element, take to copy elements until a condition is met, and min/max, guarded against an empty list, for the highest or lowest value.