访问字典中的项目

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