Commit 9bfc3d33 by BellCodeEditor

auto save

parent 5702fa7e
Showing with 0 additions and 6 deletions
with open(r'c:\Users\CM\Desktop\book.txt','w',encoding='utf-8') with open(r'c:\Users\CM\Desktop\book.txt','w',encoding='utf-8')
for data in file1:
if '小强:10本' in data"
print('小强数据在文件中')
if '小兰:10本'in 打他:
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