python if contains word code example Example: python check if string in string if "blah" not in somestring: continue