結果 : how to write a 2d array to a file in python