I don't know why this won't read the lines. I get this error message:
Oops, try again. There seems to be something not quite right with your code - see the console window for the error message.
The console window prints this:
Traceback (most recent call last):
File "python", line 2, in
AttributeError: 'tuple' object has no attribute 'readline'
my_file = ("text.txt", "r") print my_file.readline() print my_file.readline() print my_file.readline() my_file.close()