You have a missing ) in list(map(len, L[2::2]).
)
list(map(len, L[2::2])
It should be list(map(len, L[2::2]))
list(map(len, L[2::2]))
548k questions
547k answers
4 comments
86.3k users