首页
it技术
登录
6mi
u
盘
搜
搜 索
it技术
删除字典特定元素
删除字典特定元素
it
2022-12-30
63
fruits = {'西瓜':15,"香蕉":20} print(fruits['香蕉']) fruits['香蕉']= 21 print(fruits['香蕉']) del fruits['香蕉'] print(fruits)
转载请注明原文地址: https://lol.8miu.com/read-288.html
最新回复
(
0
)