📜  从列表列表中 - 查找列表的所有长度 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:08.702000             🧑  作者: Mango

代码示例1
# 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])