結果 : python remove last occurrence of character from string