Question from the Python - Fundamentals test

Read a file in Python

Easy

What is the value of the variable string in the following code ?

f = open("demofile.txt", "r")
string = f.readlines()
f.close()
Author: ThéoStatus: PublishedQuestion passed 937 times
Edit
2
Community EvaluationsNo one has reviewed this question yet, be the first!