Commit e4dd4a83 by BellCodeEditor

save project

parent 4252421b
Showing with 3 additions and 3 deletions
......@@ -5,10 +5,10 @@
#a=open(r'C:\Users\Administrator\Desktop\test.txt',"a",encoding='utf-8')
#a.write('小小:10本\n')
#a.close()
with open(r"C:\Users\Administrator\Desktop\test.txt","r",encoding='utf-8') as a:
with open(r'C:\Users\Administrator\Desktop\test.txt','r',encoding='utf-8') as a:
for s in a:
if '小小 :10本' in s :
for data in a:
if '小小 :10本' in data :
print("在")
......
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