結果 : write a python program to perform read and write operations on a file