1.

How do you close a file object (fp)?(a) close(fp)(b) fclose(fp)(c) fp.close()(d) fp.__close__()

Answer» Right choice is (c) fp.close()

The explanation is: close() is a method of the file object.


Discussion

No Comment Found