Commit a91b9c2f by BellCodeEditor

save project

parent b0ad140b
Showing with 5 additions and 6 deletions
......@@ -6,9 +6,7 @@
#file1.write('张伟:12本\n')
#file1.close()
#file1=open(r'C:\Users\Administrator\Desktop\book.txt','a',encoding='utf-8')
#file1.write('小强:12本\n')
#file1.write('李明:15本\n')
#file1.close()
file1=open(r'C:\Users\Administrator\Desktop\book.txt','r',encoding='utf-8')
file1=open(r'C:\Users\Administrator\Desktop\book.txt','a',encoding='utf-8')
file1.write('小强:12本\n')
file1.write('李明:15本\n')
file1.close()
\ 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