Commit 208dbb2c by BellCodeEditor

save project

parent d16fc8a6
Showing with 3 additions and 4 deletions
filel=open(r'C:\Users\Administrator\Desktop\book.txt','w',encoding='utf-8')
filel.write('小兰:12''小丽:11''李文:9''张伟:16')
filel.close()
\ No newline at end of file
with open(r'C:\Users\Administrator\Desktop\book.txt','w',encoding='utf-8')as filel:
filel.write('小兰:12''小丽:11''李文:9''张伟:16')
\ 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