demo_ref_dictionary_values2.py:
car = { "brand": "Ford", "model": "Mustang", "year": 1964 } x = car.values() car["year"] = 2018 print(x)
➜ begtut>python demo_dictionary_values2.py
dict_values(['Ford', 'Mustang', 2018])