Commit c9c9baf2 by BellCodeEditor

save project

parent 83651081
Showing with 3 additions and 1 deletions
...@@ -5,6 +5,7 @@ for i in a: ...@@ -5,6 +5,7 @@ for i in a:
sum=0 sum=0
for sales in i[1:]: for sales in i[1:]:
sum=sum+int(sales) sum=sum+int(sales)
result=i[0]+str(sum) result=i[0]+str(sum)+'\n'
print(result) print(result)
with open()
\ 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