更改字典中某个具体项目的值

  1. thisdict = {
  2. "brand": "Porsche",
  3. "model": "911",
  4. "year": 1963
  5. }
  6. thisdict["year"] = 2019
  7.  
  8. print(thisdict)