|
@ -40,7 +40,6 @@ sorted_by_both = sorted(<collection>, key=lambda el: (el[1], el[0])) |
|
|
flattened_list = list(itertools.chain.from_iterable(<list>)) |
|
|
flattened_list = list(itertools.chain.from_iterable(<list>)) |
|
|
list_of_chars = list(<str>) |
|
|
list_of_chars = list(<str>) |
|
|
product_of_elems = functools.reduce(lambda out, x: out * x, <collection>) |
|
|
product_of_elems = functools.reduce(lambda out, x: out * x, <collection>) |
|
|
no_duplicates = list(dict.fromkeys(<list>)) |
|
|
|
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
```python |
|
|
```python |
|
|