f = open('hello.txt', 'r')
L = f.readlines()
f.close()
print(L)

#f2 = open('hello2.txt', 'w')
f2 = open('hello2.txt', 'a')
#f2.write('\nThree\nFour\n')
f2.writelines(['5\n', '6\n'])
f2.close()

f3 = open('files_practice.py')
for line in f3:
  print(line)
f3.close()
