Commit 473f7e39 by BellCodeEditor

save project

parent db327bbd
Showing with 6 additions and 3 deletions
......@@ -7,5 +7,8 @@
with open(r'C:\Users\Windows 7\Desktop\12.txt','r',encoding='utf-8')as b:
#b.write('小丽:11本\n')
#b.write('张伟:16本\n')
a=b.read()
print(a)
\ No newline at end of file
#a=b.read()
#print(a)
for i in b:
if '小强:10本' in i:
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