bcse said:

bcse

用 set 可以確保項目都是唯一的,但順序會被打亂,目前我使用 list1 + [i for i in list2 if i not in list1] 這種作法。

4 months, 2 weeks ago.

No comments so far

Sign in to add a comment