Commit 047c31cc by BellCodeEditor

save project

parent d7c86c87
Showing with 3 additions and 0 deletions
...@@ -10,6 +10,9 @@ for i in a: ...@@ -10,6 +10,9 @@ for i in a:
result = data[0]+str(sum)+'\n' result = data[0]+str(sum)+'\n'
final_sum.append(result) final_sum.append(result)
with open(r'C:\Users\6460b\Documents\lesson13-1\sales_list.txt','r',encoding='utf-8')as file:
flie.writeline(final_sum)
......
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