Commit 2431d9e8 by BellCodeEditor

save project

parent a8be1f47
Showing with 5 additions and 3 deletions
......@@ -5,5 +5,7 @@ for i in a:
sum=0
for s in data[1:]:
sum+=int (s)
r = data[0]+str(sut)
print(r)
\ No newline at end of file
r = data[0]+str(sum)+'\n'
final_sum.append(r)
with open(r'c:\Users\EDZ\Desktop\sales_list.txt','r',encoding='utf-8')as 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