McqMate
| Q. |
Which of the following is not a valid mode to open a file? |
| A. | ab |
| B. | rw |
| C. | r+ |
| D. | w+ |
| Answer» B. rw | |
| Explanation: use r+, w+ or a+ to perform both read and write operations using a single file object. | |
View all MCQs in
Problem Solving and Python ProgrammingNo comments yet