代码示例:(标识:python_dictionary_add)
python_dictionary_add.py
thisdict =	{
  "brand": "Porsche",
  "model": "911",
  "year": 1963
}
thisdict["color"] = "red"
print(thisdict)
运行结果: