python set tips

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.

原文地址:https://www.cnblogs.com/lexus/p/1719830.html