Skip to content

Commit 703382e

Browse files
committed
a bit more copy editing
1 parent 7079c17 commit 703382e

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

source/exercises/mailroom/mailroom_with_dicts.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,18 @@ Use dicts where appropriate.
1111

1212
The first version of this assignment used these basic data types: numbers, strings, lists and tuples.
1313

14-
However, using dictionaries, an import built in data structure in Python, will let you re-write your program a bit more simply and efficiently.
14+
However, using dictionaries, an important built in data structure in Python, will let you re-write your program a bit more simply and efficiently.
1515

1616
Update your mailroom program to:
1717

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

20-
- Use dicts where appropriate.
20+
- Use dicts anywhere else, as appropriate.
2121

2222
- Use a dict to switch between the users selections.
2323
see :ref:`dict_as_switch` for what this means.
2424

25-
- Try to use a dict and the ``.format()`` method to produce the letter as one
26-
big template, rather than building up a big string that produces the letter in parts.
25+
- 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.
2726

2827

2928
Example:

0 commit comments

Comments
 (0)