Vidyalelo
Python · Q55

Files Handling in Python

Programming · Python · question 55

Q55

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()
Answer
D.
infile.readlines()

Answer: Option C

Solution

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