write a python program to using reduce to computer sum of list .
Answers
Answered by
1
Python offers a function called reduce() that allows you to reduce a list in a more concise way. The reduce() function applies the fn function of two arguments cumulatively to the items of the list, from left to right, to reduce the list into a single value.
Similar questions