Commit 60157297 by BellCodeEditor

save project

parent cc6c989e
Showing with 3 additions and 4 deletions
a=open(r'C:\Users\student\Desktop\hh.txt','w',encoding='utf-8')
a.write('小兰:12本\n小丽:11本\n李文:9本\n张伟:16本')
a.close()
\ No newline at end of file
with open(r'C:\Users\student\Desktop\hh.txt','a',encoding='utf-8')as a:
a.write('小强:12本\n李明: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