Commit a3e55833 by BellCodeEditor

save project

parent f690a3ae
Showing with 5 additions and 4 deletions
a=open(r"C:\Users\Windows 10\Desktop\book.txt",'w',encoding='utf-8')
a.write("小兰:12本\n小丽:11本\n李文:9本\n张伟:16本")
a.close()
\ No newline at end of file
# a=open(r"C:\Users\Windows 10\Desktop\book.txt",'w',encoding='utf-8')
# a.write("小兰:12本\n小丽:11本\n李文:9本\n张伟:16本\n")
# a.close()
# with open(r"C:\Users\Windows 10\Desktop\book.txt","a",encoding="utf-8") as a:
# a.write("\n小兰: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