how to clone a dictionary in python code example Example: python copy ddictionary dict2 = dict1.copy()