Commit 7c82f0ff by BellCodeEditor

save project

parent 3411b0ff
Showing with 5 additions and 4 deletions
filel = open(r'Users/teng') with open(r'C:\Users\Administrator\Desktop\test.txt','a',encoding = 'utf-8')as filel:
filel.write('小兰:12本') filel.write("小强:10本\n")
filel.close() filel.write("小明:12本\n")
\ No newline at end of file filel.write("小兰:2本\n")
\ 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