Knowing how methods work is important to applying them to real world problems.
Which version of the . read method is equivalent to the following line of code:
lines = list(open('myfile. txt', 'r') )
a) None
b) . read
c) . readlines
d) . readline

Q&A Education