python基础:9.深拷贝存储双字典
# 双层循环
temp = list()
for i in range(1,100):
item = {}
itme["a"] = i
for j in range(1,100):
item["b"] = j
temp.append(item)
# 字典的键和值覆盖,导致数据值存储最后一次循环的结果
# TODO
posted on
2019-08-11 10:09
张京墨 阅读(
...) 评论(
)
编辑
收藏
转载于:https://www.cnblogs.com/meloncodezhang/p/11334045.html