Introduction to Dictionaries

Learn about the usage of dictionaries in Python.

What are dictionaries?

A dictionary is a collection of key-value pairs. Dictionaries are also known as maps or associative arrays.

A dictionary contains comma-separated key : value pairs enclosed within {}.

Get hands-on with 1400+ tech skills courses.