From 3494adc4b3b5b3ac01ae86a3a1edf3fb119308db Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Fri, 25 Dec 2020 00:00:53 +1100 Subject: [PATCH] docs: fix simple typo, noumbers -> numbers There is a small typo in snippets/weighted_average.md. Should read `numbers` rather than `noumbers`. --- snippets/weighted_average.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/weighted_average.md b/snippets/weighted_average.md index f9b3bb518..8424ef52a 100644 --- a/snippets/weighted_average.md +++ b/snippets/weighted_average.md @@ -3,7 +3,7 @@ title: weighted_average tags: math,list,intermediate --- -Returns the weighted average of two or more noumbers. +Returns the weighted average of two or more numbers. - Use `sum()` to sum the products of the numbers by their weight and to sum the weights. - Use `zip()` and a list comprehension to iterate over the pairs of values and weights.