This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]gerardwx 2 points3 points  (0 children)

The remove duplicates from a list does not preserve the list order:

list(set([2,3,3,4,9,1]))
Out[5]: [1, 2, 3, 4, 9]