Commit 56fe110b by BellCodeEditor

save project

parent 55c40e37
Showing with 1 additions and 1 deletions
......@@ -11,7 +11,7 @@ for i in a:
result=b[0]+str(sum)+'\n'
final_sum.append(result)
with open(r'c:\Users\Admin\Documents\lesson13-1\new_sales_list.txt','r',encoding='utf-8') as file2:
with open(r'c:\Users\Admin\Documents\lesson13-1\new_sales_list.txt','a',encoding='utf-8') as file2:
file2.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