πŸ“Š Problem Solving and Python Programming
Q. Which of the following are the modes of both writing and reading in binary format in file?
  • (A) wb+
  • (B) w
  • (C) wb
  • (D) w+
πŸ’¬ Discuss
βœ… Correct Answer: (A) wb+

Explanation: here is the description below “w” opens a file for writing only. overwrites the file if the file exists. if the file does not exist, creates a new file for writing.


Explanation by: Mr. Dubey
here is the description below “w” opens a file for writing only. overwrites the file if the file exists. if the file does not exist, creates a new file for writing.

πŸ’¬ Discussion

πŸ“Š Question Analytics

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