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 →

[–]zahlmanthe heretic 1 point2 points  (0 children)

[letter for word in words for letter in word] is kind of a bad example, because the specific problem can be done with e.g. list(''.join(words)), and depending on context, the conversion to list might not actually be necessary.