EN
Python - get array length
0 points
In this article, we would like to show you how to get array length in Python.
Quick solution:
xxxxxxxxxx
1
array = [1, 3, 7, 5]
2
result = len(array)
3
4
print(result) # 4
Output:
xxxxxxxxxx
1
4