python复制列表,原列表跟着变

1、使用切片方法复制,比直接赋值多了[:]

a= b[:]

原文地址:https://www.cnblogs.com/cailingsunny/p/12896833.html