DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
8+4 =
Submit