01 / 07
So far you have always been the one passing
Line up what this chapter has covered.
sorted(names, key=len)… you passed the rule for sortingmax(people, key=lambda p: p["age"])… you passed the rule for comparingmap(double, numbers)… you passed the work to applyfilter(positive, numbers)… you passed the condition for keeping
Every one of them handed a function to something that already existed. When the function you passed got called was hidden away inside, out of sight.
This lesson swaps the parts round. You write the side that receives.