Python/basics.py
2020-02-05 14:22:58 +00:00

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)