The copying process occurs recursively in a deep copy. A new collection is first created, then it gets recursively populated with copies of child objects found in the original.
Shallow copying is not recursive unlike deep copy, a new collection object is constructed and it's populated with references to the child objects found in the original, however, these are only references, not the actual copies itself.
Watch video Shallow Copy and Deep Copy in Python 3 online without registration, duration hours minute second in high quality. This video was added by user Stack Equation 06 August 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,194 once and liked it 14 people.