Commit 6a6c6836 by BellCodeEditor

save project

parent bbb20371
Showing with 4 additions and 2 deletions
......@@ -7,4 +7,6 @@ with open (r'c:\Users\Admin\Documents\lesson13-1\sales_list.txt','r',encoding='u
for sale in result[1:]:
sum=sum=int(sale)
count=result[0]+str(sum)
print(count)
\ No newline at end of file
finally_sum.apped(count)#print(count)
with open (r'c:\Users\Admin\Documents\lesson13-1\sales_list.txt','a',encoding='utf-8')as files:
files.writeines()
\ 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