Computer Science

readlines() function returns a list of strings, each separated by "\n".

Python Data Handling

1 Like

Answer

True

Reason — The readlines() function reads all lines from the file into a list. It starts reading from the cursor position up to the end of the file and returns a list of strings, with each string separated by the newline character '\n'.

Answered By

2 Likes


Related Questions