Commit 731471cd by BellCodeEditor

save project

parent 41300768
Showing with 11 additions and 7 deletions
a=open(r"C:\Users\EDZ\Desktop\e.txt","w",encoding="UTF-8")
a.write("小兰:12本")
a.write("小一:12本")
a.write("小二:12本")
a.write("小三:12本")
a.close()
\ No newline at end of file
# a=open(r"C:\Users\EDZ\Desktop\e.txt","a",encoding="UTF-8")
# a.write("小兰:12本")
# a.write("小一:12本")
# a.write("小二:12本")
# a.write("小三:12本")
# a.write("小四:19本")
# a.close()
with open(r"C:\Users\EDZ\Desktop\e.txt","a",encoding="UTF-8") as a:
a.write("小一:12本")
\ 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