Converting a set into list

TheSaint nobody at nowhere.net.no
Sun May 15 12:35:55 EDT 2011


Steven D'Aprano wrote:

>>>> s = set()
>>>> s.add(42)
>>>> s.add(42)
>>>> s.add(42)
>>>> print s
> set([42])

Good to know. I'll remember it

-- 
goto /dev/null



More information about the Python-list mailing list