Commit 2cdafb50 by BellCodeEditor

save project

parent 1f863d35
Showing with 0 additions and 1 deletions
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
#file.write('小强,10本\n') #file.write('小强,10本\n')
#file.write('打骂毛锦淇'',250本\n') #file.write('打骂毛锦淇'',250本\n')
with open(r'C:\Users\Administrator\Desktop\book1.txt','r',encoding = 'utf-8') as file: with open(r'C:\Users\Administrator\Desktop\book1.txt','r',encoding = 'utf-8') as file:
for data in file: for data in file:
if '12345' in data: if '12345' in data:
......
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