結果 : write list to lines in file python