I really need help with 4/9


#1

I have tried a long time on it, please can I have the answers.

my_file = open("output.txt","r")
print my_file.readline()
print my_file.readline()
print my_file.readline()
my_file.close()


#2

my_file = open("output.txt", "w")
my_file = open("output.txt", "r")

print my_file.read()
my_file.close()