πŸ“Š Python
Q. Which file mode creates a new file and allows writing?
  • (A) x
  • (B) r+
  • (C) a+
  • (D) r
πŸ’¬ Discuss
βœ… Correct Answer: (A) x

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

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

πŸ’¬ Discussion


πŸ“Š Question Analytics

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