Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to add to the end of an array python

array = [1 , 2, 3]
print(array)

array.append(4)
print(array)

#[1 ,2 ,3]
#[1 ,2 , 3, 4]
 
PREVIOUS NEXT
Tagged: #add #array #python
ADD COMMENT
Topic
Name
6+3 =