McqMate
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 |
Answer» D. all of the mentioned | |
Explanation: the program will throw an error. |
View all MCQs in
Problem Solving and Python ProgrammingNo comments yet