Python – Dictionary:

Dictionaries are created or indexed by key-value pairs. In which keys are immutable type.

Tuples can be used as keys, but lists cannot be used as keys. Just because lists are mutable.

Generally, the key-value pairs which are stored in the Dictionary can be accessed with the key. we can delete a key value too.

Example: