Commit 388fbc7f by BellCodeEditor

auto save

parent 6c40209f
Showing with 4 additions and 2 deletions
......@@ -7,4 +7,6 @@
with open (r'/Users/hltwhy/Desktop/book.txt','r',encoding='utf-8')as file1:
a=file1.read()
print(a)
\ No newline at end of file
for data in file1:
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