📅  最后修改于: 2022-03-11 14:46:08.702000             🧑  作者: Mango
# 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])