2 ms·
map and related functions such as reduce and filter, along with lambda have been around since python 1.x days (not sure how far back, I started with 1.5.2). Com
by js2 12y ago
map and related functions such as reduce and filter, along with lambda have been around since python 1.x days (not sure how far back, I started with 1.5.2). Comprehensions were added in Python 2.0.