← All practice pages
Python
Python Functions
A function packages a piece of behaviour under a name so you can call it anywhere. Arguments go in, a return value comes out.
Try it now
Build a pipeline function that composes multiple transformation functions (filter, map, reduce) and processes a dataset of student grades.
Create a free account to run your answer and get ARIA's review.