This if statement works...when I'm only looking for one string
body = json.dumps(work['Body'])[2:-2]
if len(something) >= 1 and 'SMILE' in body:
print " i'm happy"
But this one does not when i'm looking for multiple strings....
body = json.dumps(work['Body'])[2:-2]
if len(something) >= 1 and 'SMILE' or 'LAUGH' or 'LOVE' or 'CHEER' in body:
print " i'm still happy "
What gives? How can I have multiple string in the if condition to match against another string?