This pattern is used when you want to reduce the information in a list down to a single number. For example, you might want to find the average of a list of numbers or the smallest number.
| Name | Code (block) | Code (text) |
|---|---|---|
| List Reduce - average |
| Name | Code (block) | Code (text) |
|---|---|---|
| List Reduce - smallest | ![]() |
![]() |
Found a bug in the documentation? Let us know at documentation@code.org