How to check if elements of tuple A are in another tuple B and the elements are in the same sequence?

前端 未结 0 379
予麋鹿
予麋鹿 2021-01-15 06:53

tuple_A = (1,2,3,4) tuple_B = (1,2,3,4,5,6)

this case will be true as tuple_A elements are in tuple_B and in the same order

tuple_A = (1,2,3,4) tuple_B = (1,3,

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