Hunter's Gym Dictionary Lab
Practice Python dictionaries by building the backend logic for a gym membership fob system.
Hunter's Gym workout illustration
Your progress
Complete the three functions, run the checker, and screenshot the passing result for your submission.
Score: 0 / 3
The checker runs behavioral tests against your Python functions. It focuses on dictionary structure, fob assignment, membership dates, and access decisions.
Case

You are a new intern at Hunter's Gym near Baruch College. Hunter needs a simple backend system to register members, assign gym fobs, and check whether a member can enter.

The gym has 10,000 fobs numbered 1 to 10000. A fob can only be assigned to one active member record at a time.

Use Python dictionaries as the data store: dictionary keys should make lookup fast, and dictionary values should hold the related member or fob information.

Python Editor Question 1
Checker Results Loading Python...
The checker is loading. If it takes a moment, keep this page open.