Assume the program keeps all data in a Python dictionary called state. You are not writing the full function yet—just the pieces that make it work.
For each key, explain (1) what it stores, (2) why it’s useful. Keep it short but specific.
Using the values below, write a Python dictionary named member. Then write the line that stores it into state["members"] using member_id as the key.
Write one line for each: (1) store email → member_id in state["email_index"], (2) increment state["next_member_num"].
This panel shows what the state would look like if your Q2/Q3 code were applied (best-effort simulation).
Click “Show hints” if you want guidance (or keep them hidden for assessment).