Commit e42843e5 by BellCodeEditor

auto save

parent 65b8495a
Showing with 2 additions and 1 deletions
...@@ -7,6 +7,6 @@ with open(r'C:\Users\qwd.txt,'a',encoding='utf-8') as diy: ...@@ -7,6 +7,6 @@ with open(r'C:\Users\qwd.txt,'a',encoding='utf-8') as diy:
for data in diy: for data in diy:
if "小强:10本" in diy if "小强:10本" in diy
print("找到小强") print("找到小强")
if "小兰:12本" in diy if "小兰:12本" in diy
print("找到小兰") print("找到小兰")
diy.close() diy.close()
\ 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