运维网's Archiver
论坛
›
Python
› python的list去除重复
Mrfei
发表于 2018-8-11 09:12:14
python的list去除重复
#!/usr/bin/env python
n =
m = []
for x in n:
if x not in m:
m.append(x)
print m
页:
[1]
查看完整版本:
python的list去除重复