有如下Python程序段:
dic={"苹果":[9.98,12.98],"香梨":[8.98,16.98]}
dic["苹果"][1]=15.98
dic["葡萄"]=[12.58,13.98]
print(dic)
该程序运行后输出的结果为( )
- A、{"苹果": [15.98, 12.98], "香梨": [8.98, 16.98] }
- B、{"苹果": [9.98, 15.98], "香梨": [8.98, 16.98] }
- C、{"苹果": [15.98, 12.98], "香梨": [8.98, 16.98], "葡萄": [12.58, 13.98]}
- D、{"苹果": [9.98, 15.98], "香梨": [8.98, 16.98], "葡萄": [12.58, 13.98]}