Commit 28ac261c by BellCodeEditor

save project

parent 49aa4089
Showing with 4 additions and 0 deletions
...@@ -14,3 +14,7 @@ with open(r'E:\demo\books.txt','a',encoding='utf-8') as file1: ...@@ -14,3 +14,7 @@ with open(r'E:\demo\books.txt','a',encoding='utf-8') as file1:
with open(r'E:\demo\books.txt','r',encoding='utf-8') as file1:
for i in file1:
if "小力:11本" in i:
print("存在的")
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