結果 : how to write array to text file in python