摘要: lst = [114, 514, 19, 19, 114, 123, 114, 12342354235] toFind = 114 print(list(filter(lambda x: lst[x]==toFind, list(range(len(lst)))))) 如代码,利用list(rang 阅读全文
posted @ 2020-11-28 20:57 wr786 阅读(1191) 评论(0) 推荐(1) 编辑