Commit 9d831fbc by BellCodeEditor

save project

parent 38e3c9a7
Showing with 4 additions and 3 deletions
with open(r'C;\Users\Administrator\Desktop\test.txt','r',encoging='utf-8')as fine1:
for a in fine1:
if in data
with open(r'C:\Users\Administrator\Desktop\test.txt','r',encoding='utf-8')as file1:
for a in file1:
if '小强:10本' in a:
print("zai ")
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