First page Back Continue Last page Overview Graphics

Example for reduce()

>>> reduce(lambda x,y: x+y, [47,11,42,13])

113

Illustration of the example:

47

11

42

13

58

100

113