Commit e60208df by BellCodeEditor

save project

parent 8020ac6f
Showing with 1 additions and 3 deletions
a=['你好啊\n','悟空\n','我在贝尔编程学python\n'] print()
with open(r'c:\Users\Administrator\Desktop\hello.txt','a',encoding='utf-8') as file:
file.writelines(a)
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