diff --git a/README.md b/README.md index 5a08795..10d4f02 100644 --- a/README.md +++ b/README.md @@ -500,9 +500,9 @@ for i in range(10): ### Map, Filter, Reduce ```python from functools import reduce - = map(lambda x: x + 1, range(10)) # (1, 2, ..., 10) - = filter(lambda x: x > 5, range(10)) # (6, 7, ..., 9) - = reduce(lambda out, x: out + x, range(10)) # 45 + = map(lambda x: x + 1, range(10)) # (1, 2, ..., 10) + = filter(lambda x: x > 5, range(10)) # (6, 7, ..., 9) + = reduce(lambda out, x: out + x, range(10)) # 45 ``` ### Any, All