I can't quite understand this behavior, but why in python3
the list.pop()
method removes the object from the list as well as the copied list, what if I'd like to have the copy as the reference. MWE:
>>> a =['1','2','3']
>>> a
['1', '2', '3']
>>> b=a
>>> b.pop(0)
'1'
>>> b
['2', '3']
>>> a
['2', '3']