标签:python
a=[1,2,3,4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,18,19,20] a_len=int(len(a)) #print a_len for x in range(a_len): y=-x-1 #print x,y if a[x]==a[y]: print a[x]
查找重复数组
原文地址:http://3357278.blog.51cto.com/3347278/1629812