Computer Science

Which function is used to read a single line from file ?

  1. readline()
  2. readlines()
  3. readstatement()
  4. readfullline()

Python File Handling

1 Like

Answer

readline()

Reason — readline() function is used to read a single line from file.

Answered By

1 Like


Related Questions