Commit 3956c95a by BellCodeEditor

save project

parent 59f687ca
Showing with 10 additions and 0 deletions
# 写入同学们的捐赠明细:'小兰:1234本'、'小丽:11123本'、'李文:934本'、'张伟:16123本'
# asdfg=open(r"C:\Users\GT\Desktop\asdf.txt","w",encoding='utf-8')
# asdfg.write('吴卓和:1\n')
# asdfg.write('吴卓州:10000\n')
# asdfg.write('吴卓和:9999\n')
with open(r"C:\Users\GT\Desktop\asdf.txt","a",encoding='utf-8')as file:
file.write('吴卓和:1\n')
file.write('吴卓州:10000\n')
file.write('吴卓和:9999\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