Commit b88f93b4 by BellCodeEditor

save project

parent d8536439
Showing with 1 additions and 1 deletions
......@@ -9,7 +9,7 @@ with open(r'C:\Users\Administrator\Desktop\新建文本文档.txt','r',encoding=
a=a.replace('小强:12本','小强:10本')
if "小兰" in a:
a=a.replace('小兰:12本','小兰:14本')
ab_+=a
ab_+=a
with open(r'C:\Users\Administrator\Desktop\新建文本文档.txt','w',encoding='utf-8') as b:
b.write(ab_)
with open(r'C:\Users\Administrator\Desktop\新建文本文档.txt','r',encoding='utf-8') as b:
......
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