結果 : how to write array to file python