Answers for "how to check the size of an array in python"

0

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]))
Posted by: Guest on May-27-2021

Code answers related to "how to check the size of an array in python"

Python Answers by Framework

Browse Popular Code Answers by Language