Commit 4081b660 by BellCodeEditor

save project

parent f658283b
Showing with 4 additions and 2 deletions
...@@ -8,4 +8,6 @@ for i in a: ...@@ -8,4 +8,6 @@ for i in a:
for sales in data[1:] for sales in data[1:]
sum=sum+int(sales) sum=sum+int(sales)
result = data[0]+str(sum) result = data[0]+str(sum)
print(result) final-sum.append(result)
\ No newline at end of file with open()
final.writhelines(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