adplus-dvertising
frame-decoration

Question

To read the remaining lines 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()

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. To read the remaining lines of the file from a file object infile, we use