Monday, 31 July 2017

47 copy module in python telugu


aaa

import copy as c
#from copy import deepcopy

lst1 = ['a','b',['ab','ba']]

lst2 = c.deepcopy(lst1)
print (lst2)
lst2[2][1] = "venkat"
lst2[0] = "vlr";

print (lst2)
print (lst1)

#print(dir(c))