1.

Which function is used to close a file in python?(a) Close()(b) Stop()(c) End()(d) Closefile()

Answer» Right choice is (a) Close()

Best explanation: f.close()to close it and free up any system resources taken up by the open file.


Discussion

No Comment Found