Commit 33d6edff by BellCodeEditor

save project

parent 328c6bd9
Showing with 2 additions and 0 deletions
......@@ -3,3 +3,5 @@ files=open(r"c:\Users\karlcarlo\Desktop\dav.txt",'w',encoding='utf-8')
#files.write('小兰:12本,小丽:11本,李文:9本,张伟:16本')
files.write('小强:10本\n李明:15本\n')
files.close()
with open(r"c:\Users\karlcarlo\Desktop\dav.txt",'a',encoding='utf-8') as files:#追加
files.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