Commit 2f8964fb by BellCodeEditor

save project

parent 56bf3ef5
Showing with 5 additions and 3 deletions
......@@ -6,5 +6,7 @@
#'张伟:16本'
#file1.close()
with open(r'C:\Users\CM\Desktop\test.txt','a',encoding='utf-8') as file:
file1.write('李明:15\n')
'小强:10本'
\ No newline at end of file
file1.write('李明:15本\n')
file1.write('小强:10本\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