Which of the following file methods directly returns a list where each element is a line from the file?

1
read()
2
readline()
3
readlines()
4
readchar()

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation