結果 : write array to file python line by line