Computer Science, asked by garvitmakhija01, 9 hours ago

examples of readline() and readlines()​

Answers

Answered by sakshimachhar1710
1

Answer:

readline()

example1 = file.readline()

print(example1)

readlines()

example2 = file.readlines(80)

print(example2)

Similar questions