Commit c9bc932e by BellCodeEditor

save project

parent 5d78addf
Showing with 5 additions and 2 deletions
......@@ -12,6 +12,9 @@ with open(r'C:\Users\Administrator\Desktop\book.txt','r',encoding='utf-8')as fil
new_data+=data
with open(r'C:\Users\Administrator\Desktop\book.txt','w',encoding='utf-8')as file:
file.write(new_data)
with open(r'C:\Users\Administrator\Desktop\book.txt','r',encoding='utf-8')as file:
for data in file:
print(data)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment