Dictionary:
A dictionary in Python is a data structure that stores the value in value:key pairs. The most common associated method of dictionaries are get(), keys(), values(), items(), update(), pop(), clear() etc.
Example: Dict = {1: ‘ICAI', 2: 'For', 3: ‘CA’}
As you can see from the example, data is stored in key: value pairs in dictionaries, which makes it easier to find values.
Dictionary Data Type
Moderator: ramajayam