Commit 96ebcc42 by BellCodeEditor

save project

parent 521f3eb7
Showing with 4 additions and 0 deletions
a=['你好呀\n','悟空\n','我在贝尔编程学python\n']
with open(r'c:\Users\Windows 7\Documents\lesson13-1\hello.txt','a',encoding='utf-8') as file:
file.writelines(a)
\ 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