Quiz

Pick the Right Pouch

Quick recap of your four collections:

  • list [...]: ordered, changeable, duplicates allowed.
  • tuple (...): ordered, can't change. Great for fixed groups.
  • dict {key: value}: look up a value by its key.
  • set {...}: unique items, no order, super-fast in checks.

The Guild needs to store each crew member's name together with their job, and quickly find someone's job by their name. Which collection fits best?