Commit b52da9f4 by BellCodeEditor

save project

parent ebf321f4
Showing with 3 additions and 2 deletions
......@@ -4,8 +4,8 @@
with open(r"C:\Users\双师04\Desktop\123.txt","r",encoding='utf-8') as file:
a=file.read()
a=file.readlines()
for data in a:
print(data)
if "小兰:10本" in data:
if "小兰:12本" in data:
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