Commit 5bbcca0b by BellCodeEditor

save project

parent 6e70c37c
Showing with 3 additions and 2 deletions
...@@ -5,4 +5,5 @@ file.close() ...@@ -5,4 +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()
print(f) for i in f:
\ No newline at end of file print(i)
\ 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