- What is the difference between shallow and deep copy in Python?
Risposta di colloquio
Anonimo
1 ago 2022
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.