Hacker News new | ask | show | jobs
by woadwarrior01 2687 days ago
list(dict.fromkeys(<list>)) preserves ordering, whilst list(set(<list>)) doesn't.