Using set(). We can avoid this loop by simply converting the duplicates list into a set. By definition, a set will only contain unique items ...
確定! 回上一頁