What is the difference between `deepcopy` and `shallow copy`?
Answer Posted / nashiinformaticssolutions
• Shallow copy: Copies only the pointer, not the actual data.
• Deep copy: Creates a new memory allocation and copies the data.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Name some commonly used built-in modules in python?
What is lambda in Python?
What is the use of enumerate() in python?
How will you check in a string that all characters are digits?
Mention what is flask-wtf and what are their features?
What is the python syntax for switch case statements?
What do you understand by the process of compilation and linking in python?
How does python handle memory management?
What is python in simple words?
Name some of the features of python?
Does xrange work python 3?
What should I make with python?
What does __ file __ mean?
Explain the use of with statement?
How will you remove a duplicate element from a list?