how to copy nested dictionaries in python code example
Example 1: copy a dict in python
dict2 = dict1.copy()
Example 2: python create nested dictionary
nested_dict = { 'dictA': {'key_1': 'value_1'},
'dictB': {'key_2': 'value_2'}}