Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python how to count items in array

myArray = [1, 2, 3];
print(len(myArray));
#output
3
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #count #items #array
ADD COMMENT
Topic
Name
9+2 =