結果 : cut last character from string python