We already know how to create lists, they are comma separated values. Dictionaries are also comma separated key-value pairs. Dictionaries in python are declared very similar to JSON. Have a look at the following code.
Source: LXer – Working With Dictionaries In Python