File Input/Output Reading Between the Lines


#1

my_file = open("text.txt", "r")
print my_file.readline()
print my_file.readline()
print my_file.readline()
my_file.close()
this is my code but i keep getting the errer "Oops, try again. Sorry, but I'm gonna need you to refresh the page! Don't worry your code is saved."
how do i fix this


#2

This is a known problem/bug, there are plenty of topics covering this problem, did you check other topics on the forum?


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.