how to find length of array list code example
Example 1: how to find length of list python
my_list = [1,2,3,4,5,6,7,8,9,10]
length_of_list = len(my_list)
Example 2: from a list of lists - find all length of list
# max length of walks
len(max(walks, key=len))
# min length of walks
len(min(walks, key=len))
# mean lenght of walks
mean([len(l) for l in walks])