Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to duplicate a list in python

example = [1,2,3,4,5,6,7,8] #this is the list

for i in example:
  example.append(example[i])
Source by www.pythonprogramming.in #
 
PREVIOUS NEXT
Tagged: #duplicate #list #python
ADD COMMENT
Topic
Name
8+4 =