Programming with Python

  1. Home
  2. Docs
  3. Programming with Python
  4. Dictionaries in python

Dictionaries in python

Among the built-in python data types is a very versatile type called a dictionary.

Dictionaries are simply another type of collection in python, but with a twist.

A dictionary is a set of unordered key-value pairs. In a dictionary, the keys must be unique, and they are stored in an unordered manner.

Dictionaries are containers that associate keys to values. Dictionaries are mutable.


Was this article helpful to you? Yes No

How can we help?