Commit c714a65d by BellCodeEditor

save project

parent 1fde8278
Showing with 6 additions and 2 deletions
file=open(r"C:\Users\Windows\Desktop\test.txt","w",encoding="utf-8")
file.write('小兰')
file=open(r"C:\Users\Windows\Desktop\test.txt","a",encoding="utf-8")
file.write("小兰:12本\n")
file.write("小丽:11本\n")
file.write("小强:21本\n")
file.write("李明:21本\n")
file.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