Skip to content

Commit 40bd025

Browse files
Merge pull request #384 from danielquinn/gh-pages
Fixed a typo
2 parents cfcc68b + 6c30f98 commit 40bd025

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/lesson3/tutorial.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,10 +292,10 @@ These are sort of like tuples: you can't edit them, and if you want to do
292292
anything with them other than read them as a complete entity, you'll have to
293293
cast them as a list:
294294

295-
>>> print(list(my_phone_book.keys()))
295+
>>> print(list(my_phone_book.values()))
296296
['+3206785246863', '+14357535455', '+244562726258', '+4407485376242']
297297

298-
>>> print(list(my_phone_book.keys())[2])
298+
>>> print(list(my_phone_book.values())[2])
299299
'+244562726258'
300300

301301
The last one there, `.items()` is interesting. It returns all of the data in

0 commit comments

Comments
 (0)