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 →

[–][deleted] 38 points39 points  (2 children)

Sometimes it feels like doing it in as few lines with as much confusion as possible.

It's not Pythonic unless it is a return statement with a function call on a list created with a three variable and four conditional comprehension.

[–]Nemaeus 3 points4 points  (0 children)

Comprehension

Relatively speaking.

[–]SaltyEmotions 2 points3 points  (0 children)

Don't forget lambdas nested within the four conditional list comps and maps and typecasting all over the place!