結果 : how to append string to text file in python