Commit 79ec28e2 by BellCodeEditor

auto save

parent da7f74bc
Showing with 4 additions and 3 deletions
......@@ -10,5 +10,6 @@
# with open(r'C:\Users\EDZ\Desktop\o','a',encoding='utf-8')as q:
# q.write('小兰:12本')
with open(r'C:\Users\EDZ\Desktop\o','r',encoding='utf-8')as q:
a=q.read()
print(a)
\ No newline at end of file
for data in q:
if'小强:10本' 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