Skip to content

01-short-introduction-to-Python.md: reference value in dict by key and not position#336

Merged
wrightaprilm merged 2 commits intodatacarpentry:gh-pagesfrom
NPalopoli:patch-6
Nov 27, 2018
Merged

01-short-introduction-to-Python.md: reference value in dict by key and not position#336
wrightaprilm merged 2 commits intodatacarpentry:gh-pagesfrom
NPalopoli:patch-6

Conversation

@NPalopoli
Copy link
Copy Markdown
Contributor

Refers to #335 - dict values should never be referred to by position, but by key.

Refers to datacarpentry#335 - `dict` values should never be referred to by position, but by key.
@maxim-belkin maxim-belkin changed the title reference value in dict by key and not position 01-short-introduction-to-Python.md: reference value in dict by key and not position Nov 21, 2018
>
> 1. First, print the value of the `rev` dictionary to the screen.
> 2. Reassign the second value (in the *key value pair*) so that it no longer
> 2. Reassign the value that corresponds to the key "2" so that it no longer
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"2" -> 2 (in backticks)

@maxim-belkin maxim-belkin added the type:enhancement Propose enhancement to the lesson label Nov 21, 2018
Comment thread _episodes/01-short-introduction-to-Python.md Outdated
Co-Authored-By: NPalopoli <nicopalo@gmail.com>
@wrightaprilm wrightaprilm merged commit cc6568b into datacarpentry:gh-pages Nov 27, 2018
zkamvar pushed a commit that referenced this pull request May 8, 2023
01-short-introduction-to-Python.md: reference value in dict by key and not position
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:enhancement Propose enhancement to the lesson

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants