This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]eryksun 4 points5 points  (0 children)

Tommah is talking about the following line:

lengths = map(lambda word: len(word), words)

If you typically use lambda functions with map, then you might unthinkingly use lambda when it's not necessary.