Commit 5c27f7e3 by BellCodeEditor

save project

parent 7b00048b
Showing with 4 additions and 5 deletions
er=open(r'C:\Users\Administrator\Desktop\新建文件夹\SSR.txt','a',encoding='GBK')
er.write('小丽:11本\n')
er.write('李文:9本\n')
er.close()
\ No newline at end of file
with open(r'C:\Users\Administrator\Desktop\新建文件夹\SSR.txt','a',encoding='GBK') as er:
for i in range(10):
er.write('小丽:11本/n')
er.write('李文:9本/n')
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