Commit 7f898761 by BellCodeEditor

save project

parent dc22b1a3
Showing with 5 additions and 0 deletions
with open(r"C:\Users\Chen\OneDrive\桌面\book.txt",'r',encoding='UTF-8') as f:
for data in f:
if '小兰:12本' in data:
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