Commit 1e8d8f2d by BellCodeEditor

save project

parent 94caf137
Showing with 2 additions and 1 deletions
with open('C:\\Users\\john\\Desktop\\tv.txt','w',encoding='utf-8') as file1:
with open('C:\\Users\\john\\Desktop\\tv.txt','a',encoding='utf-8') as file1:
file1.write('小兰:12\n小丽:11\n李文:9\n张伟: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