Commit 5e795194 by BellCodeEditor

save project

parent 2048b8ba
Showing with 7 additions and 4 deletions
str='我有1个超大的苹果'
print(str.replace('1'))
# 写入同学们的捐赠明细:'小兰:12本'、'小丽:11本'、'李文:9本'、'张伟:16o
uuu=open(r'C:\Users\CHINGHUDOF\Desktop\text.txt,'w',encoding='utf-8')
uuu.write('uyuy')
\ No newline at end of file
# 写入同学们的捐赠明细:'兰:12本小'、'小丽:11本'、'李文:9本'、'张伟:16o
uuu=open(r'C:\Users\CHINGHUDOF\Desktop\text.txt','a',encoding='utf-8')
uuu.write('iihji')
uuu.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