an element from a set

gerardob gberbeglia at gmail.com
Fri May 14 11:24:24 EDT 2010


Hello, let S be a python set which is not empty
(http://docs.python.org/library/sets.html)

i would like to obtain one element (anyone, it doesn't matter which one) and
assign it to a variable.

How can i do this? 

Thanks.

-- 
View this message in context: http://old.nabble.com/an-element-from-a-set-tp28560792p28560792.html
Sent from the Python - python-list mailing list archive at Nabble.com.




More information about the Python-list mailing list