Closed jfsantos closed 7 years ago
reduce is not in the default namespace in Python 3, and importing it from functools is supported even in Python 2.7 (see https://docs.python.org/2/library/functools.html#functools.reduce).
reduce
Thanks again!
reduce
is not in the default namespace in Python 3, and importing it from functools is supported even in Python 2.7 (see https://docs.python.org/2/library/functools.html#functools.reduce).