Hello there,

I'd like to get the same result of set() but getting an indexable
object.
How to get this in an efficient way?

Example using set

A = [1, 2, 2 ,2 , 3 ,4]
B= set(A)
B = ([1, 2, 3, 4])

 B[2]
TypeError: unindexable object

Many thanks, alex
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to