Commit 401ee316 by BellCodeEditor

save project

parent a9d148ef
Showing with 4 additions and 4 deletions
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
#file=open(r"C:\Users\cc\Desktop\hongbao.txt","a",encoding="utf-8") #file=open(r"C:\Users\cc\Desktop\hongbao.txt","a",encoding="utf-8")
#file.write("小强:\n") #file.write("小强:\n")
#file.write("稿贺:\n") #file.write("稿贺:\n")
with open(r"C:\Users\cc\Desktop\hongbao.txt","a",encoding="utf-8")as file: with open(r"C:\Users\cc\Desktop\hongbao.txt","w",encoding="utf-8")as file:
file.write("你简直就像我奶奶烤糊的苹果派一样") file.write("你简直就像我奶奶烤糊的苹果派一样\n")
file.write("你简直就像我奶奶烤糊的苹果派一样") file.write("你简直就像我奶奶烤糊的苹果派一样\n")
file.write("你简直就像我奶奶烤糊的苹果派一样") file.write("你简直就像我奶奶烤糊的苹果派一样\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