Commit 3ee900fc by BellCodeEditor

save project

parent 8c6b6a5b
Showing with 8 additions and 2 deletions
......@@ -7,5 +7,10 @@ filel.write('张伟:16本\n')
filel.close()
while open('C:\Users\86135\Desktop\xnn.txt','w',encoding='utf-8')as filel:
filel.write('阿萨:14本\n')
filel.write('阿文:17\n)
for data in filel:
if"李文:9本" in data:
print('李文')
for data in filel:
if"小丽:11本" 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