I have a list containing synonyms for the word 'Good' (this list here is shortened)
good_synonym = ['Good','good','Well','well']
And the program asks how the user is feeling
print = 'Hello, ' + name + ', How are you?'
status = raw_input('')
But sometimes, the user may respond to the question with "I am good" (or similar)
If the answer contains a word in the good synonym list, I want the program to reply
if status contains a word in good_synonym:
print ('That is good')
else:
print ('That is not so good')
note that the first line is not real python language
But I don't know which phrase to use to do the action.