真正明白了引用与对象的关系,就能避开下面这个陷阱

1 a = [1, 2]
2 b = [a, a]
3 del a
4 print b#思考会不会打印[[1,2],[1,2]]
原文地址:https://www.cnblogs.com/saolv/p/8403029.html