Commit 845b8f21 by BellCodeEditor

save project

parent 7152c126
Showing with 2 additions and 1 deletions
...@@ -10,5 +10,5 @@ ...@@ -10,5 +10,5 @@
with open(r"C:\Users\86186\Desktop\text.txt","r",encoding="utf-8")as flie: with open(r"C:\Users\86186\Desktop\text.txt","r",encoding="utf-8")as flie:
b=flie.read() b=flie.read()
for b in flie: for b in flie:
if "小强: 10本"in b and "小兰: 12本"in b: if "小强: 12本"in b and "小兰:12本"in b:
print("亲,有的呢") print("亲,有的呢")
\ 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