Python/basics.py
2020-02-13 17:02:31 +00:00

7 lines
137 B
Python

with open("files/fruits.txt", "a+") as myfile:
myfile.write("\nOkra")
myfile.seek(0)
content = myfile.read()
print(content)