Commit 2dcd8b7d by BellCodeEditor

save project

parent e8ddc98b
Showing with 2 additions and 4 deletions
......@@ -2,6 +2,5 @@
#jj=open("C:\\Users\\Administrator\\Desktop\\book.txt",'w',encoding='utf-8')
#jj.write('小兰:12本','小丽:11本','李文:9本','张伟:16本')
#jj.close()
with open("C:\\Users\\Administrator\\Desktop\\book.txt",'a',encoding='utf-8')as
write('小强:12本','李明:15本')
\ No newline at end of file
with open("C:\\Users\\Administrator\\Desktop\\book.txt",'a',encoding='utf-8')as jj:
jj.write('小强:12本','李明:15本')
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