Cara menemukan panjang daftar ular surut
my_list = [1,2,3,4,5,6,7,8,9,10]
length_of_list = len(my_list)
Lonely Lyrebird
my_list = [1,2,3,4,5,6,7,8,9,10]
length_of_list = len(my_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])