結果 : cut last char from string python