Commit 5d089507 by BellCodeEditor

save project

parent e4cf76d0
Showing with 0 additions and 2 deletions
...@@ -4,4 +4,3 @@ ...@@ -4,4 +4,3 @@
# a.close() # a.close()
with open('C:\\Users\\Administrator\\Desktop\\test.txt','a',encoding='utf-8') as a: with open('C:\\Users\\Administrator\\Desktop\\test.txt','a',encoding='utf-8') as a:
a.write('小兰:12本\n小丽:11本\n李文:9本\n张伟:16本\n小强:12本\n李明:15本') a.write('小兰:12本\n小丽:11本\n李文:9本\n张伟:16本\n小强:12本\n李明:15本')
a.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