3 ms·
List comprehensions are actually preferred over map() because they are typically clearer. Guido at one point was actually planning to remove them from Python 3
by alwaysdoit 14y ago
List comprehensions are actually preferred over map() because they are typically clearer. Guido at one point was actually planning to remove them from Python 3000.
http://www.artima.com/weblogs/viewpost.jsp?thread=98196 http://www.artima.com/weblogs/viewpost.jsp?thread=98196
I do wish itertools.chain() was a built-in, however. So useful.