l = [1,2,3,4,5]
from copy import *
lb = deepcopy(l)
for i in range(5):
l.remove(5)
l = lb
Traceback (most recent call last):
File "<pyshell#7>", line 2, in <module>
l.remove(5)
ValueError: list.remove(x): x not in list
这个为啥跑不起呢
顺便讲一点关于列表的复制的问题呗