Answers for "from a list of lists - find all length of list"

0

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

Code answers related to "from a list of lists - find all length of list"

Python Answers by Framework

Browse Popular Code Answers by Language