摘要: 补充:setdefault与update的区别 例:d={‘’name'':''egon'',''age'':18,''gender'':''xxx''} d.update({''gender'':''male''}) res = d.setdefault(''gender'',''male'') 阅读全文
posted @ 2020-12-24 15:21 BaiM0 阅读(122) 评论(0) 推荐(0) 编辑