Commit b9e534fd by BellCodeEditor

save project

parent f9725718
Showing with 2 additions and 1 deletions
...@@ -6,6 +6,6 @@ file1.write('李文:9本\n') ...@@ -6,6 +6,6 @@ file1.write('李文:9本\n')
file1.write('张伟:16本\n') file1.write('张伟:16本\n')
file1.close() file1.close()
file1=open(r'C:\Users\Administrator\Desktop\book.txt','w',encoding='utf-8') as file: with open(r'C:\Users\Administrator\Desktop\book.txt','w',encoding='utf-8') as file:
file1.write('小兰:12本\n') file1.write('小兰:12本\n')
file1.write('小丽:11本\n') file1.write('小丽:11本\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