結果 : python find first and last occurrence in string