結果 : remove last line in string python