Vidyalelo
Python · Q62

Files Handling in Python

Programming · Python · question 62

Q62

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

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board