deep copy above problem can be solved using 'deep copydeep copy creates new object and recursively copies all the objects it contains import copy [ [ ] copy deepcopy(aa is false [ ][ ]= [ [ ] is not changed [ [ ] first class object all objects in python are said to be 'first classi all objects that can be named by an identifier have equal status in below code'tyis assigned the object 'str'now 'tycan be used in place of str as shown belowty=str ty int ty(' ' this feature is quite useful for writing compact and flexible code in below codelist comprehension is used to change the data type of 'stock'herestock is stringwe want to split it and convert the data in to correct format stringint and float stock "goog field_types [strintfloatsplit_stock stock split(','split data and get list split_stock ['goog' ' 'change the format stock_format [ty(valfor tyval in zip(field_typessplit_stock)stock_format format [strintfloat['goog' builtin types for representing data there are various types of data typeswhich can be divided as shown in table first class object