Commit 4ba8362f by BellCodeEditor

save project

parent e4f8bf2a
Showing with 3 additions and 3 deletions
......@@ -6,5 +6,5 @@
# file.write("小乐:24本")
# file.close()
with open(r"C:\Users\makcoo\Desktop\detai.txt",'w',encoding='UTF-8') as file:
file.write("小兰:12本\n")
\ No newline at end of file
with open(r"C:\Users\makcoo\Desktop\detai.txt",'a',encoding='UTF-8') as file:
file.write("小兰:12222本\n")
\ No newline at end of file
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