examples of readline() and readlines()
Answers
Answered by
1
Answer:
readline()
example1 = file.readline()
print(example1)
readlines()
example2 = file.readlines(80)
print(example2)
Similar questions