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
0
Answer:(a)f2.reads()
Explanation:
Answered by
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
Social Sciences,
3 hours ago
Science,
3 hours ago
Math,
6 hours ago
Physics,
8 months ago
Biology,
8 months ago