What is the fastest way to filter list of tuples based on list of indices and values in Python

前端 未结 0 1842
一个人的身影
一个人的身影 2020-11-22 09:00

I have a list of sequences like: seq = [(1,2,3,4) , (1,2,4,3) (1,3,2,4) (1,3,4,2)] etc..

And another list that contains tuples (index , value) of indexes

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