How to find if an word/sitring ends with a subword from an array using endswith()?

前端 未结 0 454
一生所求
一生所求 2020-12-19 04:06

I have a set of characters, for example: array = [\'abc\', \'adc, \'cf\', \'xyy\']

and I have a string: my_word = \'trycf\'

I want t

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