demo_dictionary_copy2.py:
thisdict = { "brand": "Ford", "model": "Mustang", "year": 1964 } mydict = dict(thisdict) print(mydict)
➜ begtut>python demo_dictionary_copy2.py
{'brand': 'Ford', 'model': 'Mustang', 'year': 1964}