17 lines
355 B
Markdown
17 lines
355 B
Markdown
![]() |
---
|
||
|
categories:
|
||
|
- Programming Languages
|
||
|
tags: [python, data-structures]
|
||
|
---
|
||
|
|
||
|
# Dictionaries in Python
|
||
|
|
||
|
Dictionaries are basically the Python equivalent of objects in JS.
|
||
|
|
||
|
Dictionaries:
|
||
|
|
||
|
- Are ordered (in contrast to JS)
|
||
|
- Are mutable
|
||
|
- Are indexed by a key which references a value
|
||
|
- Can be increased/decreased in length by adding/removing new members.
|