結果 : define read and write function with example in python