Commit 31d6fd34 by BellCodeEditor

save project

parent 1e484883
Showing with 5 additions and 2 deletions
...@@ -4,5 +4,8 @@ yyzss.write("小兰:12本\n") ...@@ -4,5 +4,8 @@ yyzss.write("小兰:12本\n")
yyzss.write("小丽:11本\n") yyzss.write("小丽:11本\n")
yyzss.write("李文:9本\n") yyzss.write("李文:9本\n")
yyzss.write("大帅比:16本\n") yyzss.write("大帅比:16本\n")
with open(r"C:\Users\人\Desktop\test.txt","a",encoding="utf-8") as yyzss: with open(r"C:\Users\人\Desktop\test.txt","r",encoding="utf-8") as yyzss:
yyzss.write("小贝吃席:9本") y=yyzss.read()
print(y)
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