Computer Science, asked by sheikhsameermanzoor, 6 hours ago

Consider that the position of the file pointer is at the beginning of the 5th line in the text file “story.txt” stored in f2 file object: Choose the right option can be used to read all the remaining lines. (a) f2.reads() (b) story.reads() (c) story.readlines() (d) f2.readlines()​

Answers

Answered by janardhangaddamedhi0
0

Answer:(a)f2.reads()

Explanation:

Answered by nidaeamann
2

Explanation:

Among the various options given in question statement the correct option is the first one.

The question has been referenced for python programming languages, a commonly used language these days. In python there is a method called read() that is used to read text from a file. In our case, it will f2.read(). It will first take the starting position and reference of reading

Similar questions