Commit b735f3b6 by BellCodeEditor

save project

parent b52b7646
Showing with 7 additions and 0 deletions
...@@ -2,3 +2,6 @@ ...@@ -2,3 +2,6 @@
file=open(r'C:\Users\cc\Desktop\yiyi.txt','w',encoding='utf-8') file=open(r'C:\Users\cc\Desktop\yiyi.txt','w',encoding='utf-8')
file.write('小兰:12本、小丽:11本、李文:9本、张伟:16本') file.write('小兰:12本、小丽:11本、李文:9本、张伟:16本')
file.close() file.close()
file=open(r'C:\Users\cc\Desktop\yiyi.txt','a',encoding='utf-8')
file.write('环保局:1234567890本')
file.close()
\ No newline at end of file
with open(r'C:\Users\cc\Desktop\yiyi.txt','a',encoding='utf-8') as file:
file.write('韩国:11111111本\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