Commit ab61c71f by BellCodeEditor

save project

parent 5543ac77
Showing with 3 additions and 6 deletions
day =open(r"C:\Users\9\Desktop\test.txt","w",encoding="utf-8")
day.write("小兰:12本")
day.write("小丽:11本")
day.write("李文:9本")
day.write("张伟:16本")
\ No newline at end of file
with open(r"C:\Users\9\Desktop\test.txt","w",encoding="utf-8") as day:
day.write(":12本\n")
day.write(":15本\n")
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