Commit 49056d2f by BellCodeEditor

save project

parent a8d7e2c6
Showing with 3 additions and 1 deletions
...@@ -8,4 +8,6 @@ a.close() ...@@ -8,4 +8,6 @@ a.close()
with open(r"C:\Users\maku\Desktop\text.txt",'r',encoding='utf-8')as a: with open(r"C:\Users\maku\Desktop\text.txt",'r',encoding='utf-8')as a:
for i in a: for i in a:
if '小强' in i: if '小强' in i:
print('s') print('在')
if '小兰' in i:
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