When I submitted my code, this is what appeared in the console:
Traceback (most recent call last):
File "python", line 1, in
IOError: [Errno 2] No such file or directory: 'text.txt'
And this is what the other error message thingy said:
Sorry, but I'm gonna need you to refresh the page! Don't worry your code is saved.
I reloaded the page and tried again, but the same thing happened again. I kept trying upwards of 10 times to no avail.
I would've expected it to be fixed after I reloaded the page once.
my_file = open("text.txt", "r") print my_file.readline() print my_file.readline() print my_file.readline() my_file.close()