[Python] 利用Set 來去除重覆的List. 17 Feb 2017. Python · list · tuple. Set 很好用,可以拿來去除重覆元素:. >>> s = set([1, 1, 2, 2, 3, 4, 5]) >>> s set([1, ...
確定! 回上一頁