Test Index

CBSE Class 12 Computer Science 2023 Paper Compartment Get it on Google PlayDownload on the App Store

© examsnet.com
Question : 18 of 35
Marks: +1, -0
Assertion (A) : readlines() reads all the lines from a text file and returns the lines along with newline as a list of strings.
Reasoning (R) : readline() can read the entire text file line by line without using any looping statements.
Advertisements
Go to Question: