Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python copy list

a = [1, 2, 3]
b = [*a] # deep copy the list
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #copy #list
ADD COMMENT
Topic
Name
1+4 =