結果 : how to write output in file python