python set type dose not support indexing
e.g.
a=set([1,2])
means you can't use a[1] or a[:1] etc.
because set dosen't have orders.
e.g.
a=set([1,2])
means you can't use a[1] or a[:1] etc.
because set dosen't have orders.
![](http://img.zemanta.com/pixy.gif?x-id=e974de03-d8c5-8ca4-9aee-1ba3b3aef01d)
python set type dose not support indexing
e.g. a=set([1,2]) means you can't use a[1] or a[:1] etc. because set dosen't have orders. ![]() ![]() |