Functools Module

Anonymous contributor's avatar
Anonymous contributor
Anonymous contributor's avatar
Anonymous contributor
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

Looking to contribute?

Learn Python on Codecademy