a = [1, 1, 1, 1, 1, 1, 1, 2, 3, 4, 5, 6, 66, 6, 6, 6, 6, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]
for i in a:
while a.count(i) > 1:
a.remove(i)
print(a)
最后修改:2022 年 08 月 09 日
© 允许规范转载