結果 : write a python program to implement various file operations