向字典添加一个项目

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