dict of list python code example
Example 1: dict of dict python
nested_dict = { 'dictA': {'key_1': 'value_1'},
'dictB': {'key_2': 'value_2'}}
Example 2: python dictionary with list
dictionary = {"one": [1, 2, 3, 4, 5], "two": "something"}
print(dictionary["one"][2])
3