Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions 6 source/exercises/mailroom/mailroom_with_dicts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ However, using dictionaries, an import built in data structure in Python, will l

Update your mailroom program to:

- Convert your main donor data structure to be a dict. Think about an appropriate key for easy donations look up.

- Use dicts where appropriate.

- See if you can use a dict to switch between the users selections.
- Use a dict to switch between the users selections.
see :ref:`dict_as_switch` for what this means.

- Convert your main donor data structure to be a dict.

- Try to use a dict and the ``.format()`` method to produce the letter as one
big template, rather than building up a big string that produces the letter in parts.

Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.