# Exercise: Tidy the Gym Memberships

Exercise: Tidy the Gym Memberships: Exercise: Tidy the Gym Memberships.

Updated: November 19, 2026

1. [Exercise: Tidy the Gym Memberships](https://www.ask-codey.com/lessons/exercise-python-tidy-gym-memberships) (Journeyman): Add type hints to a gym's working but messy membership code until mypy passes, fix the bug mypy finds for a plan that doesn't exist, and tidy the file until ruff check and ruff format have nothing left to change, while the tests prove every answer stays the same.

Source: https://www.ask-codey.com/courses/python-in-depth/topics/exercise-python-tidy-gym-memberships
