Browse Source

Removed the infamous no_duplicates example

pull/21/head
Jure Šorn 5 years ago
parent
commit
f7b3f6af8f
1 changed files with 0 additions and 1 deletions
  1. 1
      README.md

1
README.md

@ -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

Loading…
Cancel
Save