编辑器
car = { "brand": "Ford", "model": "Mustang", "year": 1964 } x = car.items() print(x) #before the change car["color"] = "red" print(x) #after the change
dict_items([('brand','Ford'),('model','Mustang'),('year',1964)])
dict_items([('brand','Ford'),('model','Mustang'),('year',1964),('color','red')])