Skip to content

Commit cc6568b

Browse files
authored
Merge pull request #336 from NPalopoli/patch-6
01-short-introduction-to-Python.md: reference value in dict by key and not position
2 parents 372d2b0 + 444c994 commit cc6568b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

_episodes/01-short-introduction-to-Python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ for key in rev.keys():
450450
> ## Changing dictionaries
451451
>
452452
> 1. First, print the value of the `rev` dictionary to the screen.
453-
> 2. Reassign the second value (in the *key value pair*) so that it no longer
453+
> 2. Reassign the value that corresponds to the key `2` so that it no longer
454454
> reads "two" but instead "apple-sauce".
455455
> 3. Print the value of `rev` to the screen again to see if the value has changed.
456456
>

0 commit comments

Comments
 (0)