Q. Which function is used to read a line from a file in Python?
β
Correct Answer: (A)
readline()
Explanation: The `readline()` method reads a single line from a file.