#浅拷贝import copylaogong = ["a","b",[1000000,5000000]]# laopo = laogong.copy()# laopo[2][1] -= 1500000# print(laopo)# print(laogong)#深拷贝xiaoshan = copy.deepcopy(laogong)xiaoshan[2][1] -= 1500print(xiaoshan)print(laogong)