結果 : python remove last n from string