Commit fea3d983 by BellCodeEditor

save project

parent 1481cd0a
Showing with 2 additions and 2 deletions
...@@ -10,8 +10,8 @@ with open(r"C:\Users\14576\Desktop\tyt.txt","r",encoding='utf-8')as a: ...@@ -10,8 +10,8 @@ with open(r"C:\Users\14576\Desktop\tyt.txt","r",encoding='utf-8')as a:
''' '''
with open(r"C:\Users\14576\Desktop\tyt.txt","r",encoding='utf-8')as a: with open(r"C:\Users\14576\Desktop\tyt.txt","r",encoding='utf-8')as a:
for i in a: for i in a:
if '小兰:12本'in a: if '小兰:12本'in i:
print(i) print("dsfgh")
# print(a.read()) # print(a.read())
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