Python | File handling quiz | Question 9

Last Updated :
Discuss
Comments

How do you read a file line by line in Python?

read_all_lines()

file.read_line()

readlines()

read_line(file)

Share your thoughts in the comments