# EG8-19 Pełny odczyt pliku 

output_file=open('test.txt','w')
output_file.write('wiersz 1\n')
output_file.write('wiersz 2\n')
output_file.close()

input_file=open('test.txt','r')
total_file=input_file.read()
print(total_file)
input_file.close()

