Commit 813b2ac7 by BellCodeEditor

save project

parent 489e846a
Showing with 6 additions and 4 deletions
a=open(r"C:\Users\pc\Desktop\123\test.txt","a",encoding="utf-8")
a.write("贾子强最帅\n")
a.close()
#a=open(r"C:\Users\pc\Desktop\123\test.txt","a",encoding="utf-8")
with open(r"C:\Users\pc\Desktop\123\test.txt","a",encoding="utf-8")as a:
a.write("贾子强最好\n")
a.write("贾子强最帅\n")
a.write("*********************************是个SB")
a.close()
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