一
info = {"x":1.5 ,"y":2}
info.update({"z":info.pop("x")})
二
info = {"x":1.5 ,"y":2}
info["z"] = info.pop("x")
https://jingyan.baidu.com/article/495ba84149489378b20ede7b.html
一
info = {"x":1.5 ,"y":2}
info.update({"z":info.pop("x")})
二
info = {"x":1.5 ,"y":2}
info["z"] = info.pop("x")
https://jingyan.baidu.com/article/495ba84149489378b20ede7b.html
4206

被折叠的 条评论
为什么被折叠?