主页
Python
Python 字典(Dictionary) values() 方法
demo_ref_dictionary_values2
运行 ❯
×
更改方向
保存代码
更改主题
car = { "brand": "Ford", "model": "Mustang", "year": 1964 } x = car.values() car["year"] = 2018 print(x)
dict_values(['Ford', 'Mustang', 2018])