Q.

Which function is used to read single line from file?

A. readline()
B. readlines()
C. readstatement()
D. readfullline()
Answer» B. readlines()
Explanation: the readline function reads a single line from the file fh = open(“filename”, “r”)
4.7k
0
Do you find this helpful?
33

Discussion

No comments yet