Commit 5c2ec9a0 by BellCodeEditor

save project

parent fe0295d5
Showing with 5 additions and 4 deletions
file1=open(r'C:\Users\huiyu\Desktop\阿巴巴:阿巴巴:阿巴巴:.txt','w',encoding='utf-8')
file1.write('我:4,1,8,8, #我是你爸爸')
file1.close()
\ No newline at end of file
with open(r'C:\Users\huiyu\Desktop\阿巴巴:阿巴巴:阿巴巴:.txt','a',encoding='utf-8')as file1:
file1.write('我:100\n')
file1.write('小强:10\n')
file1.write('李明:15\n')
\ 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