A

Admin • 833.24K Points
Coach

Q. Which file mode is used to read and write both?

  • (A) rw
  • (B) r+
  • (C) w+
  • (D) a+
  • Correct Answer - Option(B)
  • Views: 38
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

The 'r+' mode opens the file for both reading and writing.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.