Commit 4fece92c by BellCodeEditor

save project

parent 614168fa
Showing with 4 additions and 3 deletions
......@@ -6,5 +6,6 @@ with open(r'c:\Users\EDZ\Desktop\sales_list.txt','r',encoding='utf-8')as firl:
sum=0
for sales in d[1:]:
sum=sum+int(sales)
print(d[0]+str(sum))
\ No newline at end of file
d=d[0]
a=d+str(sum)
print(a)
\ 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