Commit 5fdca664 by BellCodeEditor

save project

parent 9e769793
Showing with 2 additions and 0 deletions
...@@ -9,3 +9,4 @@ for i in a: ...@@ -9,3 +9,4 @@ for i in a:
result=data[0]+str(s)+'\n' result=data[0]+str(s)+'\n'
f.append(result) f.append(result)
with open (r'c:\Users\艾特机器人1号\Documents\lesson13-1\sales_list.txt','w',encoding='utf-8')as file: with open (r'c:\Users\艾特机器人1号\Documents\lesson13-1\sales_list.txt','w',encoding='utf-8')as file:
file.writelines(f)
\ 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