結果 : write values to a file in python