Assume that a file has opened as “somefile,” such as somefile = open ('test.txt','r'). Try the following (note the “s” in the second method name).
(a) What will
somefile.readline()return?(b) Whatwill
somefile.readlines()return?
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.