A

Admin • 833K Points
Coach

Q. What is the purpose of the close() method?

  • (A) Save data to file
  • (B) Release system resources
  • (C) Open the file
  • (D) Flush data
  • Correct Answer - Option(B)
  • Views: 19
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

close() releases the file resources and ensures data is saved.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.