Commit 181439f3 by BellCodeEditor

save project

parent 0260a186
Showing with 3 additions and 0 deletions
...@@ -6,4 +6,6 @@ booktxt.write('李文:9本') ...@@ -6,4 +6,6 @@ booktxt.write('李文:9本')
booktxt=open(r'C:\Users\Administrator\Desktop\booktxt',"a",encoding='utf_8') booktxt=open(r'C:\Users\Administrator\Desktop\booktxt',"a",encoding='utf_8')
booktxt.append('小强:12本') booktxt.append('小强:12本')
booktxt.append('李明:15本') booktxt.append('李明:15本')
for i in booktxt:
print(i)
booktxt.close() booktxt.close()
\ 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