A

Admin • 833K Points
Coach

Q. If you want to write to a file but avoid overwriting existing content, which mode should you use?

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

Explanation by: Admin

'a' mode appends data to the file without deleting existing content.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.