how to remove duplicated elements in a list?

Kevin Yuan farproc at gmail.com
Mon Dec 19 02:29:25 EST 2005


How to remove duplicated elements in a list? eg. [1,2,3,1,2,3,1,2,1,2,1,3]
-> [1,2,3]?
Thanks!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20051219/fa17709c/attachment.html>


More information about the Python-list mailing list