Commit d4c68b9a by BellCodeEditor

save project

parent a9b93d4b
Showing with 5 additions and 0 deletions
...@@ -3,3 +3,7 @@ file1.write('小兰:12本\n') ...@@ -3,3 +3,7 @@ file1.write('小兰:12本\n')
file1.write('小凯:12本\n') file1.write('小凯:12本\n')
file1.write('小鸡:12本\n') file1.write('小鸡:12本\n')
file1.close() file1.close()
with open(r'C:\Users\Administrator\Desktop\test.txt','a',encoding='utf-8') as file:
file.write('小一:12本\n')
file.write('小机:12本\n')
file.write('小坤:12本\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