4 lines
152 B
Python
4 lines
152 B
Python
with open("files/fruits.txt", "r") as myfile:
|
|
content = myfile.read(90)
|
|
with open("files/fruits-copy.txt", "w") as myfile:
|
|
myfile.write(content) |