結果 : write an array to text file python