在这里插入代码片
list = [1,2,3,3,4,4,4,5]
listt = []
for i in list:
if i not in listt:
listt.append(i)
print(listt)
除去列表中重复数据(python)
猜你喜欢
转载自blog.csdn.net/weixin_45949073/article/details/104456177
今日推荐
周排行