Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to create an array in python

array = ["1st", "2nd", "3rd"]
#prints: ['1st', '2nd', '3rd']
array.append("4th")
#prints: ['1st', '2nd', '3rd', '4th']
 
PREVIOUS NEXT
Tagged: #create #array #python
ADD COMMENT
Topic
Name
2+4 =