貝努-重生的神話
我要讓妳過好日子
2016年7月21日 星期四
[python] 去除 list 裡重覆的資料
source_list = [1,2,3,4,5,6,1,2,3,4]
new_list = list(set(source_list))
print(new_list)
[1,2,3,4,5,6]
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
查看行動版
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言