From 00c3cc90396edf62335d7e17cc8faf18e3e14f0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Wed, 27 Feb 2019 18:58:13 +0100 Subject: [PATCH] Map --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a77dffd..5c9596b 100644 --- a/README.md +++ b/README.md @@ -581,7 +581,7 @@ for i in range(10): ``` ### Map, Filter, Reduce -```python +```python3 from functools import reduce = map(lambda x: x + 1, range(10)) # (1, 2, ..., 10) = filter(lambda x: x > 5, range(10)) # (6, 7, 8, 9)