πŸ“Š Problem Solving and Python Programming
Q. Which of the following statements are true?
  • (A) when you open a file for reading, if the file does not exist, an error occurs
  • (B) when you open a file for writing, if the file does not exist, a new file is created
  • (C) when you open a file for writing, if the file exists, the existing file is overwritten with the new file
  • (D) all of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (D) all of the mentioned

Explanation: the program will throw an error.


Explanation by: Mr. Dubey
the program will throw an error.

πŸ’¬ Discussion

πŸ“Š Question Analytics

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