There was an error while loading. Please reload this page.
1 parent 5f61e81 commit 00a2868Copy full SHA for 00a2868
1 file changed
map_filter.rst
@@ -80,8 +80,9 @@ Reduce
80
^^^^^^^^^
81
82
``Reduce`` is a really useful function for performing some computation on
83
-a list and returning the result. For example, if you wanted to compute
84
-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
85
+of a list of integers.
86
87
So the normal way you might go about doing this task in python is using
88
a basic for loop:
0 commit comments