結果 : first occurrence of character in string python