Maps in Latex
Maps#
Maps are Python’s built-in associative data type, sometimes called dictionaries or dicts in Python. Here’s the translated example code.
To create an empty dictionary in Python, use the built-in dict()
:
To run the program, save the code in a file named maps.py
and execute it using the Python interpreter.
Next example: Functions.