Commit 605fa28a by BellCodeEditor

save project

parent e1e00506
Showing with 3 additions and 2 deletions
...@@ -7,4 +7,5 @@ for i in a: ...@@ -7,4 +7,5 @@ for i in a:
sum = 0 sum = 0
for b in new_list[1:]: for b in new_list[1:]:
sum = sum + int(b) sum = sum + int(b)
print(new_list[0],sum) st = new_list[0]+": "+ str(sum)
\ No newline at end of file print(st)
\ 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