Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

check if word contains a word in a list python

if any(word in 'some one long two phrase three' for word in list_):
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #word #word #list #python
ADD COMMENT
Topic
Name
8+6 =