shop = { '牛奶':10, '辣条':10, '方便面':8, '火腿肠':8 } shop['方便面'] = 4 shop['火腿肠'] = 4 print(shop) shop['面包'] = 5 print(shop) for i in shop: print(i)