lstA = [1,2,3] lstB = [4,5,6,lstA] del lstA print(lstB)
[4, 5, 6, lstA]
[4, 5, 6, 1, 2, 3]
[4, 5, 6, [1, 2, 3]]
执行将报错,因为 lstA 已经被删除