Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 70abe77

Browse files
gto76rpatel1303
authored andcommitted
Map
1 parent 9d03a3d commit 70abe77

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-
```python3
584+
```python
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)