What is the difference between `deepcopy` and `shallow copy`?
Answer Posted / hr@tgksolutions.com
A shallow copy creates a new object but does not create copies of nested objects, while a deep copy creates copies of all nested objects as well.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why python has no private?
What is the python decorator?
Do while loops python?
What are python variables?
How much ram is required for python?
Which is better c++ or java or python?
Is python interpreter or compiler?
What are the advantages of Python Recursion?
Is python shell scripting?
What are the differences between pyramid, django, and flask?
How will you capitalize the first letter of a string?
What are the two modes of python?
What are non static methods?
What is try block?
Where is the math.py (socket.py, regex.py, etc.) Source file?