[Inventory Management & Dicts Concept] Correct Spelling Errors (#4010)
* Update introduction.md Fixed a typo for better readability. * Updated Dicts concept about.md Made same spelling change to the concept about.md, which uses the same code examples. --------- Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>
This commit is contained in:
@@ -172,7 +172,7 @@ You can change an entry `value` by assigning to its _key_:
|
|||||||
New `key`:`value` pairs can be _added_ in the same fashion:
|
New `key`:`value` pairs can be _added_ in the same fashion:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
# Adding an new "color" key with a new "tawney" value.
|
# Adding a new "color" key with a new "tawney" value.
|
||||||
>>> bear["color"] = 'tawney'
|
>>> bear["color"] = 'tawney'
|
||||||
{'name': 'Grizzly Bear', 'speed': 40, 'land_animal': True, 'color': 'tawney'}
|
{'name': 'Grizzly Bear', 'speed': 40, 'land_animal': True, 'color': 'tawney'}
|
||||||
|
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ You can change an entry `value` by assigning to its _key_:
|
|||||||
New `key`:`value` pairs can be _added_ in the same fashion:
|
New `key`:`value` pairs can be _added_ in the same fashion:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
# Adding an new "color" key with a new "tawney" value.
|
# Adding a new "color" key with a new "tawney" value.
|
||||||
>>> bear["color"] = 'tawney'
|
>>> bear["color"] = 'tawney'
|
||||||
{'name': 'Grizzly Bear', 'speed': 40, 'land_animal': True, 'color': 'tawney'}
|
{'name': 'Grizzly Bear', 'speed': 40, 'land_animal': True, 'color': 'tawney'}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user