結果 : how to write variable value in file using python