更改字典中某个具体项目的值
- thisdict = {
- "brand": "Porsche",
- "model": "911",
- "year": 1963
- }
- thisdict["year"] = 2019
- print(thisdict)
上一篇:访问字典中的项目
下一篇:逐一打印字典中的所有键名