Commit d2a53cc1 by BellCodeEditor

auto save

parent 03fd4553
Showing with 2 additions and 1 deletions
...@@ -13,5 +13,5 @@ with open(r"C:\Users\Administrator\Desktop\book.txt","r",encoding="utf-8") as fi ...@@ -13,5 +13,5 @@ with open(r"C:\Users\Administrator\Desktop\book.txt","r",encoding="utf-8") as fi
for data in file: for data in file:
if "小强:10本" in data: if "小强:10本" in data:
print("小强在") print("小强在")
if "小兰:12本" in data if "小兰:12本" in data:
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