摘要: #去重 A = ['geovindu','刘杰','江山','河水','刘杰','geovindu','张三','李五'] B = [] for i in A: if i not in B: B.append(i) print(B) C = set(A) print(list(C)) # 移动位置 阅读全文
posted @ 2024-07-06 19:16 ®Geovin Du Dream Park™ 阅读(4) 评论(0) 推荐(0) 编辑