How to search numbers of a list in a nested list and get its indexes in other nested list?

后端 未结 0 937
被撕碎了的回忆
被撕碎了的回忆 2021-02-14 23:26

I declared:

anyNums = [[1,8,4], [3, 4, 5, 6], [20, 47, 47], [4, 5, 1]]#List for find the numbers

numsToSearch = [1, 47, 20]#Numbers to search

rtsian = [0, 2, 3]         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题