Python Language Dictionary: Difference between revisions
Jump to navigation
Jump to search
Line 14: | Line 14: | ||
=Create a Dictionary= | =Create a Dictionary= | ||
=Access a Dictionary= | =Access a Dictionary= | ||
Test the existence of a key. | |||
=Change a Dictionary= | =Change a Dictionary= | ||
==Individual Elements== | ==Individual Elements== |
Revision as of 19:32, 16 February 2022
Internal
Overview
Empty map
m = {}
Access:
d["key"]
Create a Dictionary
Access a Dictionary
Test the existence of a key.
Change a Dictionary
Individual Elements
Add, modify, delete.