McqMate
| Q. |
1 TEXT FILES, READING AND WRITING FILES, FORMAT OPERATOR |
| A. | infile.read(2) |
| B. | infile.read() |
| C. | infile.readline() |
| D. | infile.readlines() |
| Answer» A. infile.read(2) | |
| Explanation: execute in the shell to verify. | |
View all MCQs in
Problem Solving and Python ProgrammingNo comments yet