VertitimeX Technologies

Python Dictionaries.

Python Dictionaries are used to store data values in key:value pairs.

  • A dictionary is a collection which is ordered*, changeable and do not allow duplicates.


Dictionaries are written with curly brackets, and have keys and values:

Create and print a dictionary:
thisdict = { "brand": "Ford", "model": "Mustang", "year": 1964 }
print(thisdict)