Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python get array length

#new array in range 1 -> 10;
ar = [i for i in range(1,10)]
print(len(ar))
# OR
print(len([1,2,3]))

 
PREVIOUS NEXT
Tagged: #python #array #length
ADD COMMENT
Topic
Name
8+4 =