結果 : python code to write output to excel file