Commit a2fc6092 by BellCodeEditor

save project

parent 0dafb7c4
Showing with 5 additions and 2 deletions
# 写入同学们的捐赠明细:'小兰:12本'、'小丽:11本'、'李文:9本'、'张伟:16本' # 写入同学们的捐赠明细:'小兰:12本'、'小丽:11本'、'李文:9本'、'张伟:16本'
cj1=open(r'C:\Users\Administrator\Desktop','w',enco) with open('C:\Users\Administrator\Desktop','r',encoding='utf-8')as cj1:
\ No newline at end of file for data in cj1:
if '123323' in cj1:
print('文件中有')
\ 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