

MCQOPTIONS
Saved Bookmarks
1. |
To read the entire remaining contents of the file as a string from a file object infile, we use ____________ |
A. | infile.readall() |
B. | infile.read() |
C. | infile.readlines() |
D. | infile.read(all) |
Answer» C. infile.readlines() | |