使用 items()遍历键和值使用 items()遍历键和值thisdict = { "brand": "Porsche", "model": "911", "year": 1963}for x, y in thisdict.items(): print(x, y)