Skip to content

Commit 5186a0d

Browse files
committed
List
1 parent f7b3f6a commit 5186a0d

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
@@ -38,8 +38,8 @@ elementwise_sum = [sum(pair) for pair in zip(list_a, list_b)]
3838
sorted_by_second = sorted(<collection>, key=lambda el: el[1])
3939
sorted_by_both = sorted(<collection>, key=lambda el: (el[1], el[0]))
4040
flattened_list = list(itertools.chain.from_iterable(<list>))
41-
list_of_chars = list(<str>)
4241
product_of_elems = functools.reduce(lambda out, x: out * x, <collection>)
42+
list_of_chars = list(<str>)
4343
```
4444

4545
```python

0 commit comments

Comments
 (0)