Commit 98ba275e by BellCodeEditor

save project

parent 54204d03
Showing with 2 additions and 1 deletions
......@@ -3,5 +3,5 @@ with open(r'C:\Users\Administrator\Desktop\book.txt','a',encoding='utf-8')as txx
txx.write('小强:12本\n')
txx.write('李明:11本\n')
for i in txx:
if'小强:10本'in ixx:
if'小强:10本'in txx:
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