Skip to content

Commit

Permalink
Merge pull request #148 from GraemeBrown/patch-1
Browse files Browse the repository at this point in the history
Update map_filter.rst
  • Loading branch information
yasoob committed Jun 6, 2017
2 parents 5f61e81 + 00a2868 commit b65b49e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions map_filter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,9 @@ Reduce
^^^^^^^^^

``Reduce`` is a really useful function for performing some computation on
a list and returning the result. For example, if you wanted to compute
the product of a list of integers.
a list and returning the result. It applies a rolling computation to sequential
pairs of values in a list. For example, if you wanted to compute the product
of a list of integers.

So the normal way you might go about doing this task in python is using
a basic for loop:
Expand Down

0 comments on commit b65b49e

Please sign in to comment.