Commit 114913b9 by BellCodeEditor

save project

parent 34849187
Showing with 4 additions and 2 deletions
...@@ -6,5 +6,7 @@ for i in a: ...@@ -6,5 +6,7 @@ for i in a:
date=i.split() date=i.split()
sum=0 sum=0
for sales in date[1:]: for sales in date[1:]:
sum=sum+sales sum=sum+int(sales)
print(sum) result=date[0]+str(sum)
print(result)
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