Python - File Reading and Writing Strategies
Which of the following is the correct syntax to read the entire content of a file in Python?
read() reads entire file content as string; readall() does not exist.readlines() returns list of lines; readline() reads one line only.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions