Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is blob in python?

846


Which is best python or r?

798


Can we change tuple values? If yes, give an example.

930


What is a tuple in python?

871


Which ide is better for python?

897


How do I find the current module name?

1017


Write a program to find the given string in the line?

829


Can you learn python with no experience?

933


How can you create a gui based application in python for client-side functionality?

844


Mention the concept used in python for memory managing

810


Why python is better than r for data science?

855


Which is faster tuple or list?

834


What is Python Decorator?

907


What does %d do in python?

885


How do I generate random numbers in python?

955