Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to push item to array python

mylist = list()
mylist.append(1)
mylist.append(2)
mylist.append(3)
print(mylist)
>>> [1,2,3]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #push #item #array #python
ADD COMMENT
Topic
Name
3+4 =