Commit 54b0cef6 by BellCodeEditor

save project

parent 7d82389b
Showing with 4 additions and 2 deletions
......@@ -5,4 +5,6 @@
# filel.write('李文:9本\n')
# filel.write('张伟:16本\n')
# filel.close()
with filel=open(r"C:\Users\pc01\Desktop\TEXT.txt",'a',encoding='utf-8') as file1
\ No newline at end of file
with open(r"C:\Users\pc01\Desktop\TEXT.txt",'a',encoding='utf-8') as file1:
file1.write('小强:12本\n')
file1.write('李明:15本\n')
\ 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