Commit 5b748af0 by BellCodeEditor

save project

parent 38b52a4d
Showing with 2 additions and 2 deletions
......@@ -5,9 +5,9 @@ f.write('小丽:11本')
f.write('李文:9本')
f.write('张伟:16本')
for data in f:
if '小兰: 10本' in data
if '小兰: 12本' in data:
print('将小兰的数据在文件中')
if '小丽: 10本' in data
if '小丽: 11本' in data:
print('将小丽的数据在文件中')
......
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