Commit 0127eb26 by BellCodeEditor

save project

parent 19b04470
Showing with 2 additions and 1 deletions
......@@ -2,5 +2,5 @@
#sb=open(r"C:\Users\64378\Desktop\text.txt",'w',encoding='utf-8')
#sb.write('小兰:12本,小丽:11本,李文:9本,张伟:16本')
#sb.close()
with open (r"C:\Users\64378\Desktop\text.txt",'w',encoding='utf-8')as sb:
with open (r"C:\Users\64378\Desktop\text.txt",'a',encoding='utf-8')as sb:
sb.write("黄悦航:10吨黄金")
\ 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