To read the entire remaining contents of the file as a string from a f

Loading

โœช Choose the correct option.

To read the entire remaining contents of the file as a string from a file object infile, use _________.

A. infile.read(2)
B. infile.read()
C. infile.readline()
D. infile.readlines()

Leave a Comment