Commit 7c6738f7 by BellCodeEditor

auto save

parent 93066119
Showing with 1 additions and 1 deletions
...@@ -10,5 +10,5 @@ for i in a: ...@@ -10,5 +10,5 @@ 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\Windows 10\Documents\lesson13-1\sales_list.txt','r',encoding='utf-8') as file: with open(r'c:\Users\Windows 10\Documents\lesson13-1\sales_list.txt','a',encoding='utf-8') as file:
file.writelines(final_sum) file.writelines(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