What is the difference between `deepcopy` and `shallow copy`?
Answer Posted / nashiinformaticssolutions
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
Which python function will you use to convert a number to a string?
Is anaconda good for python?
Does python has any command to create variable?
How do you debug a program in python? Answer in brief.
What does numpy linspace return?
Why python is popular nowadays?
How is it possible to share global variables across various modules?
How we can send email from python?
List out the different types of inheritance available in python?
What are literals in python?
Is python based on c?
Tell me how memcached should not be used in your python project?
What is string in python?
Can python be used for web client and web server side programming? And which one is best suited to python?
What do you understand of pep 8?