Skip to main content
4 events
when toggle format what by license comment
Oct 29, 2018 at 20:54 comment added mit This is the best answer. Avoid list comprehensions xahlee.info/comp/list_comprehension.html
Mar 2, 2010 at 16:53 comment added Mike Graham (i)filter and (i)map can make sense for cases where the functions being applied already exist, but in a situation like this it makes a lot more sense just to use a generator expression.
Mar 2, 2010 at 8:34 comment added Eric O. Lebigot Generator expressions are simpler.
Mar 2, 2010 at 7:16 history answered sth CC BY-SA 2.5