Commit 98527fe5 by BellCodeEditor

save project

parent 0e3166ef
Showing with 3 additions and 2 deletions
...@@ -12,7 +12,7 @@ with open(r"C:\Users\Administrator\Desktop\jrnvguvr.txt",'a',encoding="utf-8") a ...@@ -12,7 +12,7 @@ with open(r"C:\Users\Administrator\Desktop\jrnvguvr.txt",'a',encoding="utf-8") a
with open(r"C:\Users\Administrator\Desktop\jrnvguvr.txt",'r',encoding="utf-8") as filel: with open(r"C:\Users\Administrator\Desktop\jrnvguvr.txt",'r',encoding="utf-8") as filel:
for data in filel: for data in filel:
if "小强:12本" in data: if "小强:10本" in data:
print('小强:12本在') print('小强:10本在')
if "小兰:12本" in data: if "小兰:12本" in data:
print('小兰:12本在') print('小兰:12本在')
\ 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