Commit 9e94f6a5 by BellCodeEditor

save project

parent d5f55430
Showing with 2 additions and 1 deletions
......@@ -8,6 +8,6 @@
with open(r'C:\Users\我的电脑\Desktop\text.txt','r',encoding='utf-8')as abc:
a=abc.read()
if "小强:12本" in a:
print("在里面")
abc=abc.replace('小强:12本','小强:11本')
\ 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