Commit d4b24a6e by BellCodeEditor

save project

parent 5fa2ee73
Showing with 3 additions and 3 deletions
...@@ -6,5 +6,5 @@ s.write('张伟,16本\n') ...@@ -6,5 +6,5 @@ s.write('张伟,16本\n')
s=open(r"C:\Users\Administrator\Desktop\test.txt","w",encoding='utf-8') s=open(r"C:\Users\Administrator\Desktop\test.txt","w",encoding='utf-8')
s.write('小强,10本\n') s.write('小强,10本\n')
s.write('李明,15本\n') s.write('李明,15本\n')
s.close() open(r"C:\Users\Administrator\Desktop\test.txt","w",encoding='utf-8'
print(a) with open(r"C:\Users\Administrator\Desktop\test.txt","w",encoding='utf-8'
\ No newline at end of file \ 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