Commit 5d50e9d9 by BellCodeEditor

auto save

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