Python: Retrieve items from a set

后端 未结 3 1410
执笔经年
执笔经年 2021-01-12 10:13

In general, Python sets don\'t seem to be designed for retrieving items by key. That\'s obviously what dictionaries are for. But is there anyway that, given a key, you can

3条回答
提交回复
热议问题