結果 : write to two files at once python