結果 : print write to file python