运维网's Archiver
论坛
›
Python
› python set tips
忧郁者
发表于 2017-4-22 06:43:46
python set tips
python set type dose not support indexing
e.g.
a=set()
means you can't use a or a[:1] etc.
because set dosen't have orders.
http://img.zemanta.com/pixy.gif?x-id=e974de03-d8c5-8ca4-9aee-1ba3b3aef01d
页:
[1]
查看完整版本:
python set tips