Hacker News new | ask | show | jobs
by L3viathan 723 days ago
> any generator. For example, the classic range

`range` is not a generator.

Regarding number 8, instead of `Counter` you can also use dicts:

`unique = list(dict.from_keys(iterable))`