結果 : check index of character in string python