import copy A = [[10, 60], [50, 'Hi'], ['Hello', 5, 80]] B = copy.deepcopy(A) A[2][0] = 'World' A[0][1] = 10 print('List A is : % s' % (A)) print('List B is : % s' % (B))
최근댓글