Python
What is the difference between shallow copy and deep copy?
Shallow copy (copy.copy(), list[:], list.copy()) creates a new top-level object but nested objects remain shared references.
Shallow copy (copy.copy(), list[:], list.copy()) creates a new top-level object but nested objects remain shared references.