3 ms·
reduce is still available in the functools module. Also map and filter are lazy in Python 3; they return generators instead of lists.
by orangecat 18y ago
reduce is still available in the functools module. Also map and filter are lazy in Python 3; they return generators instead of lists.