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 / 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


Please Help Members By Posting Answers For Below Questions

How to create prompt in the console window?

947


What are python’s dictionaries?

963


Is python time time utc?

926


When would you use triple quotes as a delimiter?

949


What is composition in python?

960


What is a lambda form?

982


What will be the output of data[-2] from the list data = [1,5,8,6,9,3,4]?

841


What is python coverage?

927


What is the keyword to import a module in python?

841


Explain what is Flask & its benefits?

884


What is data hiding in python?

905


What is meant by mutex in python?

1083


Tell us what is python? What are the benefits of using python? What do you understand of pep 8?

1053


What is the use of __ init __ py in python?

897


What is deep copy in python?

946