Commit 6e2f4496 by BellCodeEditor

save project

parent 5bbcca0b
Showing with 3 additions and 3 deletions
...@@ -5,5 +5,5 @@ file.close() ...@@ -5,5 +5,5 @@ file.close()
with open(r"c:\Users\Administrator\desktop\text.txt","a",encoding='utf-8')as fill: with open(r"c:\Users\Administrator\desktop\text.txt","a",encoding='utf-8')as fill:
file.write("小兰:12本") file.write("小兰:12本")
f=file.read() f=file.read()
for i in f: for i in fill:
print(i) if "小兰"
\ No newline at end of file \ 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