Which of the following methods returns a list of strings, where each string…

PYQ KVS TGT/PGT 2026

Which of the following methods returns a list of strings, where each string represents a single line from the text file?

  1. A.

    read()

  2. B.

    readline()

  3. C.

    readlines()

  4. D.

    list_read()

Attempted by 649 students.

Sign up free to check your answer

Sign up free

Explore the full course: Kvs Nvs Tier 2 Computer Science

Loading lesson…