πŸ“Š Problem Solving and Python Programming
Q. What is the use of “w” in file handling?
  • (A) read
  • (B) write
  • (C) append
  • (D) none of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (B) write

Explanation: this opens the file for writing. it will create the file if it doesn’t exist, and if it does, it will overwrite it.


Explanation by: Mr. Dubey
this opens the file for writing. it will create the file if it doesn’t exist, and if it does, it will overwrite it.

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
649
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
95%
Success Rate