Commit 815a1386 by BellCodeEditor

save project

parent 9d50ba56
Showing with 2 additions and 2 deletions
# file=open(r"D:\abc.txt","w",encoding="utf-8") # file=open(r"D:\abc.txt","w",encoding="utf-8")
# file.write('小兰:12本*') # file.write('小兰:12本n/')
# file.close() # file.close()
with open(r"D:\abc.txt","a",encoding="utf-8") as file: with open(r"D:\abc.txt","a",encoding="utf-8") as file:
file.write('小强:12本*') file.write('小强:12本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