Commit ce0ef1e9 by BellCodeEditor

save project

parent 9da4c830
Showing with 1 additions and 1 deletions
......@@ -12,7 +12,7 @@ with open(r"C:\Users\Administrator\Desktop\diy1.txt",'r',encoding='utf-8') as fi
print('在文件中')
i=i.replace('小强:12本','小强:11')
if '小丽' in a:
if '小丽' in i:
print('在文件中')
i=i.replace('小丽:12本','小丽:11')
iii=i
......
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