Commit 2dffec6e by BellCodeEditor

save project

parent 3420e0f0
Showing with 6 additions and 7 deletions
# 写入同学们的捐赠明细:'小兰:38本'、'小丽:11本'、'李文:45本'、'阿伟:14本' # 写入同学们的捐赠明细:'小兰:38本'、'小丽:11本'、'李文:45本'、'阿伟:14本'
c4=open(r'C:\Users\Administrator\Desktop.新建文本文档.txt','w',encoding='utf-8') with open(r'C:\Users\win 10\Desktop\新建文本文档.txt','w',encoding='utf-8')as c4:
c4.write('小兰38本\n') c4.write('小兰38本\n')
c4.write('小丽11本\n') c4.write('小丽11本\n')
c4.write('李文45本\n') c4.write('李文45本\n')
c4.write('阿伟14本\n') c4.write('阿伟14本\n')
c4.closed() \ No newline at end of file
\ 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