Commit 1e7f09d0 by BellCodeEditor

save project

parent 405a7c3d
Showing with 4 additions and 9 deletions
#file=(r'C:\Users\Administrator\Desktop\book.txt','a',encoding= 'utf-8')
#file.write('黄荣:12本)
#file.write('李明:15本)
#file.close()
if for'小强:10本'in date:
print('小强数据在文件中')
if for'小丽:12本'in date:
print('小丽数据在文件中')
\ No newline at end of file
file=(r'C:\Users\Administrator\Desktop\book.txt','a',encoding= 'utf-8')
file.write('黄荣:12本)
file.write('李明:15)
file.close()
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