Commit afbd34a8 by BellCodeEditor

save project

parent 715cb97e
Showing with 2 additions and 1 deletions
......@@ -8,7 +8,7 @@ for i in a:
total=0
for b in data[1:]:
total=total+int(b)
end=data[0]+str(total)
end=data[0]+str(total)+'\n'
end_list.append(end)
with open(r'C:\Users\Makcoo-Bellcode\Documents\lesson13-1\sales_list.txt','w',encoding='utf-8')as file:
file.writelines(end_list)
\ 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