結果 : python string remove last occurrence of character