Mini-Project: The Ten Pattern Toolkit

Build one reusable function for each of the ten patterns, all operating on a list of member records (name, city, hours, joined): count_by_city, total_hours, find_member, filter_veterans, names_only, fewest_hours, sort_by_hours, unique_cities, is_symmetric_name, and find_year_binary (on a sorted list of years). Every function must RETURN, handle an empty list safely, and be called at the bottom on a dataset of at least eight members. Both languages.

SANKOFA SANDBOX
loading editor…
Your turn → Work through it step by step. This is a piece of the course project, not a throwaway exercise.

Built it in both languages?

Mark it done once your Python and JavaScript versions both run correctly. Honesty here is what makes the dashboard useful to you.

← BackNext: Module 23: Complexity and Efficiency →