Skip to content

Commit 00c3cc9

Browse files
committed
Map
1 parent b96348a commit 00c3cc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ for i in range(10):
581581
```
582582

583583
### Map, Filter, Reduce
584-
```python
584+
```python3
585585
from functools import reduce
586586
<iter> = map(lambda x: x + 1, range(10)) # (1, 2, ..., 10)
587587
<iter> = filter(lambda x: x > 5, range(10)) # (6, 7, 8, 9)

0 commit comments

Comments
 (0)