python:实现在列表中查找某个元素的下标 for i in s1: if i in s2: c1.append(i) s1={1,2,3} for j in range(0, len(s1)): if s1[j]==i: t1.append(j)