Browse Source

System

pull/3/head
Jure Šorn 5 years ago
parent
commit
f019e053e3
1 changed files with 1 additions and 1 deletions
  1. 2
      README.md

2
README.md

@ -30,7 +30,7 @@ sorted_by_second = sorted(<list>, key=lambda el: el[1])
sorted_by_both = sorted(<list>, key=lambda el: (el[1], el[0]))
flattened_list = [item for sublist in <list> for item in sublist]
list_of_chars = list(<str>)
product = functools.reduce(lambda out, x: out * x, <list>)
product_of_elems = functools.reduce(lambda out, x: out * x, <list>)
```
```python

Loading…
Cancel
Save