MCQOPTIONS
Saved Bookmarks
| 1. |
To read the next line of the file from a file object infile, we use |
| A. | infile.read(2) |
| B. | infile.read() |
| C. | infile.readline() |
| D. | infile.readlines() |
| Answer» D. infile.readlines() | |