結果 : check index of char in string python