ID EN
Math

prod

Python 3.11

Calculate the product of all the elements in the input iterable. The default start value for the product is 1.

Syntax

PYTHON
math.prod(iterable, *, start=1)