Commit fa9bf012 by BellCodeEditor

save project

parent b5732677
Showing with 4 additions and 2 deletions
......@@ -8,4 +8,6 @@ for i in list:
for j in data[1:]:
sum+=int(j)
result = data[0]+str(sum)+"\n"
wl.append(result)
\ No newline at end of file
wl.append(result)
with open(r"c:/Users/Windows 10/Documents/lesson13-1/sales_list.txt","a",encoding='utf-8') as file:
file.writelines(wl)
\ 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