Commit 85c47b69 by BellCodeEditor

save project

parent 42611bc7
Showing with 1 additions and 1 deletions
......@@ -6,7 +6,7 @@ with open(r'C:\Users\dell\Desktop\test.txt','a',encoding='utf-8') as sss:
sss.write('小强:10本\n')
new_i=''
with open(r'C:\Users\dell\Desktop\test.txt','r',encoding='utf-8') as sss:
#a=sss.read()
#a=sss.read()
#print(a)
for i in sss:
if '小兰:12本' and '小强:10本' in i:
......
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