Converting a set into list

TheSaint nobody at nowhere.net.no
Sat May 14 10:51:30 EDT 2011


Ben Finney wrote:

> Another method to do what?
> 
Sorry, some time we expect to have said it as we thought it.

The example was to show that after having made a set

set(aa)

the need to get that set converted into a list.
My knowledge drove me to use a comprehension list as a converter.
In another post I got to know the simplest way to state

list(aa)
Where aa is a set.

-- 
goto /dev/null



More information about the Python-list mailing list