eolas/Programming_Languages/Python/Syntax/Dictionaries_in_Python.md

17 lines
355 B
Markdown
Raw Normal View History

2023-02-14 09:16:11 +00:00
---
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.