有这样一个清单:
ls = [{'40', '39'},
{'40', '39'},
{'78', '82'},
{'77', '81'},
{'78', '82'},
{'77', '81'},
{'78', '82'}]
当然,我可以通过循环对其进行唯一化,但我想知道 Python 中是否有为此的标准功能?
有这样一个清单:
ls = [{'40', '39'},
{'40', '39'},
{'78', '82'},
{'77', '81'},
{'78', '82'},
{'77', '81'},
{'78', '82'}]
当然,我可以通过循环对其进行唯一化,但我想知道 Python 中是否有为此的标准功能?
通过集: