Product of Array: Difference between revisions
Content deleted Content added
m →[[PHP]]: grammatical changes |
|||
Line 208:
reduce(lambda z, y: z * y, x)
or
from operator import mul
reduce(mul, x)
'''Note:''' It is encouraged not to use this as reduce may go away in the future.
|