How to find if any element of list contains a substring without using for loop

前端 未结 0 913
庸人自扰
庸人自扰 2020-12-03 00:40

Let\'s say I have

list = ["tree", "gate", "buy", "train", "test"]

and I have string as follows:<

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