From fe85c1f7ffb32f0db64692cff97494d71fb08f10 Mon Sep 17 00:00:00 2001 From: Natasha Date: Thu, 10 Mar 2022 16:13:07 -0800 Subject: [PATCH] Update mailroom_with_dicts.rst --- source/exercises/mailroom/mailroom_with_dicts.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/exercises/mailroom/mailroom_with_dicts.rst b/source/exercises/mailroom/mailroom_with_dicts.rst index b627c18..24cad30 100644 --- a/source/exercises/mailroom/mailroom_with_dicts.rst +++ b/source/exercises/mailroom/mailroom_with_dicts.rst @@ -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.