make copy of dictionary without editing original python code example Example: copy a dict in python dict2 = dict1.copy()