python更改字典元素内容

it2022-12-26  72

fruits = {'西瓜':15,"香蕉":20} print(fruits['香蕉']) fruits['香蕉']= 21 print(fruits['香蕉'])
最新回复(0)