what does the method readline() returns
Answers
Answered by
0
It does not return anything but it reads the line if characters
Answered by
0
The method readline() is a function/method that reads one whole line from the file. A trailing newline character is stored in the string and is kept with the file.
In the presence of the size parameter and if it is non-negative, it is a maximum byte count including the trailing newline.
In case a line is incomplete, then it may be returned.
An empty string is returned only when EOF is encountered immediately.
Similar questions
English,
8 months ago
Math,
8 months ago
Business Studies,
8 months ago
CBSE BOARD X,
1 year ago
Physics,
1 year ago
Math,
1 year ago
Social Sciences,
1 year ago