Skip to content

Commit 9eb6cbb

Browse files
committed
updated session 06
1 parent 05bd308 commit 9eb6cbb

File tree

2 files changed

+85
-83
lines changed

2 files changed

+85
-83
lines changed

source/session05.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -892,7 +892,7 @@ Note: the % "mod" operator computes the remainder, e.g. ``5 % 2`` is 1.
892892
893893
894894
``dict`` and ``set`` comprehensions
895-
----------------------------
895+
------------------------------------
896896
897897
Let's revisiting the dict/set lab -- see how much you can do with
898898
comprehensions instead.
@@ -916,7 +916,7 @@ First a slightly bigger, more interesting (or at least bigger..) dict:
916916
get something like:
917917
918918
"Chris is from Seattle, and he likes chocolate cake, mango fruit,
919-
greek salad, and lasagna pasta"
919+
greek salad, and lasagna pasta"
920920
921921
2. Using a list comprehension, build a dictionary of numbers from zero
922922
to fifteen and the hexadecimal equivalent (string is fine).

0 commit comments

Comments
 (0)