python copy a dictionary without reference code example Example: python copy ddictionary dict2 = dict1.copy()