What is the difference between `deepcopy` and `shallow copy`?
Answer Posted / nashiinformaticssolutions
A deep copy duplicates the actual content, while a shallow copy duplicates only references.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do you sort a list in reverse order in python?
What are the attributes?
Why are we using self as first argument?
Which operator helps to do addition operations ?
How do I stop a python script?
How do you append to a list in python?
In oops what is a diamond problem in inheritance?
So, what is an iterator, then?
Write program to find the common elements from two sets?
What is pytest in python?
Can we use angularjs with python?
How do you sort a list in ascending order python?
How do I use strftime in python?
How to implement the decorator function, using dollar ()?
How will you use python to read a random line from a file?