I wanted to know if there is a way to do the following in python or something similar:
wordList = ['hello', 'hi', 'who', 'what']
message = "I don't know what you mean"
if any item of wordList is in message :
#Do whatever
else:
#Don't do whatever
I'm sorry if I am not giving enough info this is my first question on stackoverflow.