Commit bd23a722 by BellCodeEditor

save project

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