CBSE Class 12 Computer Science
Question 130 of 136
Data File Handling — Question 18
Back to all questionsFalse
Reason — In Python, the readline() function reads a single line from the file and returns it as a string, while the readlines() function reads all lines from the file and returns them as a list of strings.