Which function is used to read single line from file?
A. Readline()
B. Readlines()
C. Readstatement()
D. Readfullline()
Answer:A
Which function is used to read single line from file?
A. Readline() B. Readlines() C. Readstatement() D. Readfullline()
Explanation: The readline function reads a single line from the file fh = open(“filename”, “r”)