結果 : remove end of a string python