A

Admin • 802.91K Points
Coach

Q. What will happen if you call read() after reading the entire file once?

  • (A) Returns entire file again
  • (B) Returns empty string
  • (C) Raises error
  • (D) Returns None
  • Correct Answer - Option(B)
  • Views: 5
  • Filed under category Python
  • Hashtags:

Explanation by: Admin
The file pointer is at the end after the first read; subsequent reads return an empty string.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.