We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5186a0d commit ff322a6Copy full SHA for ff322a6
README.md
@@ -33,13 +33,13 @@ List
33
```
34
35
```python
36
+list_of_chars = list(<str>)
37
sum_of_elements = sum(<collection>)
38
elementwise_sum = [sum(pair) for pair in zip(list_a, list_b)]
39
sorted_by_second = sorted(<collection>, key=lambda el: el[1])
40
sorted_by_both = sorted(<collection>, key=lambda el: (el[1], el[0]))
41
flattened_list = list(itertools.chain.from_iterable(<list>))
42
product_of_elems = functools.reduce(lambda out, x: out * x, <collection>)
-list_of_chars = list(<str>)
43
44
45
0 commit comments