Functools Module

Christine_Yang's avatar
Published May 4, 2022Updated Oct 14, 2022
Contribute to Docs

The functools module contains functions that support a functional programming approach in Python.

The following functions are provided by this module.

Functools Module

reduce()
Returns an aggregated value that results from the application of a passed function to each item in an iterable.

All contributors

Contribute to Docs

Learn Python on Codecademy