Commit 09bcb221 by BellCodeEditor

save project

parent 60d87691
Showing with 3 additions and 2 deletions
...@@ -11,4 +11,5 @@ for i in a: ...@@ -11,4 +11,5 @@ for i in a:
sum=sum+int(sales) sum=sum+int(sales)
result = data[0]+str(sum) result = data[0]+str(sum)
print(result) print(result)
with open() with open(r'c:\users\cm\documents\lesson13-1\sales_list.txt','a'encoding='utf-8') as file:
\ No newline at end of file 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