Re:Comprehensive Python Cheatsheet (2018)
by woadwarrior01 on Monday February 04, 2019 @07:39AM
(#19075815)
list(dict.fromkeys(<list>)) preserves ordering, whilst list(set(<list>)) doesn't.
[ Parent
| on HN ]
There are no comments on this comment yet.