Commit 99717f76 by BellCodeEditor

save project

parent 6eebd7c6
Showing with 2 additions and 0 deletions
......@@ -2,3 +2,5 @@
file=open(r"C:\Users\admin\Desktop\test.txt","w",encoding="utf-8")
file.write('张伟:16本')
file.close()
with open(r"C:\Users\admin\Desktop\test.txt","a",encoding="utf-8")as file:
write("小红:12本")
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