demo_ref_dictionary_copy.py:
car = { "brand": "Ford", "model": "Mustang", "year": 1964 } x = car.copy() print(x)
➜ begtut>python demo_dictionary_copy.py
{'brand': 'Ford', 'model': 'Mustang', 'year': 1964}