結果 : append line to string python