A

Admin • 802.91K Points
Coach

Q. Which file mode creates a new file and allows writing?

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

Explanation by: Admin
The 'x' mode is used to create a new file and open it for writing.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.