Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This.

I often use generator expressions for the intermediate values (so I don't allocate a new list for each step), but I find this to be much more readable.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: