Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

list deep copy

import copy
 
list1 = ['A', 'B', 'C']
list2 = copy.deepcopy(list1)
 
print(list2)
Source by www.pythonprogramming.in #
 
PREVIOUS NEXT
Tagged: #list #deep #copy
ADD COMMENT
Topic
Name
4+3 =