MCQ
The readlines() returns
  • A
    only first line from the file
  • B
    only last line from the file
  • all lines from the file
  • D
    none of the above

Answer

Correct option: C.
all lines from the file
all lines from the file

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free