Commit 3e6cdd8f by BellCodeEditor

save project

parent 29e2aef0
Showing with 2 additions and 2 deletions
...@@ -3,4 +3,4 @@ ...@@ -3,4 +3,4 @@
#file1.write('小丽:11本\n李文:9本\n张伟:16本') #file1.write('小丽:11本\n李文:9本\n张伟:16本')
#file1.close() #file1.close()
with open(r'C:\Users\Administrator\Desktop\test.txt','a',encoding='utf_8')as file1: with open(r'C:\Users\Administrator\Desktop\test.txt','a',encoding='utf_8')as file1:
file1.write('小丽:11本\n李文:9本\n张伟:16本') file1.write('小丽:11本\n李文:9本\n张伟:16本\n')
\ No newline at end of file \ 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