Chris Torek wrote:

> >>> x = ['three', 'one', 'four', 'one', 'five']
> >>> x
> ['three', 'one', 'four', 'one', 'five']
> >>> list(set(x))
> ['four', 'five', 'three', 'one']

Why one *"one"* has purged out?
Removing double occurences in a list?
-- 
goto /dev/null
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to