- What is the difference between shallow and deep copy in Python?
Anonymous
The first doesn't create a copy of the elements in a list, keeping the original pointers to elements. The second make sure the list and its elements are a copy.
Check out your Company Bowl for anonymous work chats.