Answers for "if string contains word from list"

1

check if word contains a word in a list python

if any(word in 'some one long two phrase three' for word in list_):
Posted by: Guest on July-11-2020

Code answers related to "if string contains word from list"

Python Answers by Framework

Browse Popular Code Answers by Language