A Python Dictionary is a key-value pair.
A Python Dictionary is the same as a list but with an extra parameter called keys, instead of using an index, we use keys in the dictionary.
We can define a dictionary by enclosing a comma-separated list of key-value pairs in curly braces { }, A colon : separates each key from its associate value.
Following Example will show you-
How to create python dictionary and function of dictionary.