Commit a537c1b0 by BellCodeEditor

auto save

parent de4de0a9
Showing with 1 additions and 4 deletions
...@@ -6,8 +6,6 @@ ...@@ -6,8 +6,6 @@
# file.write("张伟:16本\n") # file.write("张伟:16本\n")
# file.close() # file.close()
with open(r"C:\Users\玛酷机器人编程中心\Desktop\book.txt","a",encoding="utf-8")as with open(r"C:\Users\玛酷机器人编程中心\Desktop\book.txt","a",encoding="utf-8")as file:
file:
file.write("小强:12本\n") file.write("小强:12本\n")
file.write("李明:15本\n") file.write("李明:15本\n")
\ 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