結果 : if string contains certain characters python