Commit 157a1c10 by BellCodeEditor

save project

parent fcf2d6f4
Showing with 2 additions and 1 deletions
......@@ -10,5 +10,5 @@ for i in a:
result=data[0]+str(sum)
print(result)
with open(r'C:\Users\21901\Documents\lesson13-1\sales_list.txt','r',encoding='utf-8') as file1:
with open(r'C:\Users\21901\Documents\lesson13-1\sales_list.txt','a',encoding='utf-8') as file1:
file.writelines(final_sum)
\ 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