with open("pythonuz.txt", 'w+') as yozish:
yozish.write("1: one\n2: two\n3: three")
yozish.seek(0) print(yozish.readlines()[2])
Опрос
- 1: one
- 2: two
- 3: three
- ['1: one\n', '2: two\n']