array = [1, 2, 3, 4, 5]
print(len(arr))
# To get the length of a Python array, use 'len()'
a = arr.array(‘d’, [1.1, 2.1, 3.1])
len(a) # Output: 3
# Our array
arr = [82, 49, 82, 82, 41, 82, 15, 63, 38, 25]
# let's print the number of 82 in our array/list
print(arr.count(82))
# it will print : 4
a=arr.array('d', [1.1 , 2.1 ,3.1] )
len(a)
#new array in range 1 -> 10;
ar = [i for i in range(1,10)]
print(len(ar))
# OR
print(len([1,2,3]))