Commit b054c03a by BellCodeEditor

save project

parent 59f687ca
Showing with 10 additions and 0 deletions
with open(r'C:\Users\Administrator\Desktop\新建文件夹\b.txt','a',encoding='utf-8') as aa:
a=input('名字:')
b=input('本数:')
aa.write(a+':'+b+'本\n')
aaa=open(r'C:\Users\Administrator\Desktop\新建文件夹\b.txt','a',encoding='utf-8')
aaa.write('小强:10本\n')
aaa.write('李明:15本\n')
aaa.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