What is a Python Dictionary?
What is a Python Dictionary? Python Dictionary is a data-structure in Python that is also known as associative array. A python dictionary is used to store data values in key:value pair. Each item has a key and a corresponding value that is expressed as a pair (key: value). They are optimised to retrieve values when the key is known.