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