python列表去重

list1 = [1,2,1,3]

list1 = list(set(list1))

print(list1)

原文地址:https://www.cnblogs.com/WebLinuxStudy/p/14385589.html