What is the difference between `deepcopy` and `shallow copy`?
Answer Posted / glibwaresoftsolutions
• 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
What is raise keyword do in python exception handling?
What are the local and global variables in python?
What made you to choose python as a programming language?
How to use of return keywords in python?
What is self in python constructor?
How do I run a script in python shell?
Does nasa use python?
Is string empty python?
What are negative indices?
Does python have null?
Is python shell scripting?
What is a module in python?
Is python full stack?
Explain about python break, continue and pass?
Can a constructor be static?