結果 : write a text file using python