首页 > 其他分享> > copy copy 2022-09-12 01:32:35 作者:互联网 深浅copy #赋值运算 l1 = [1,2,3,[22,33]] l2 = l1 l1.append(666) print(l1) print(l2) l1 = [1,2,3,[22,33]]l2 = l1.copy()l1.append(666)print(l1)print(l2) 标签:22,33,l2,l1,print,copy 来源: https://www.cnblogs.com/ETH8888/p/16685276.html