πŸ“Š Python
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
πŸ’¬ Discuss
βœ… Correct Answer: (C) a

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

Explanation by: Mr. Dubey
'a' mode appends data to the file without deleting existing content.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
49
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
96%
Success Rate