Commit d19776a8 by BellCodeEditor

auto save

parent 4f3eda38
Showing with 5 additions and 3 deletions
...@@ -6,5 +6,8 @@ for i in a: ...@@ -6,5 +6,8 @@ for i in a:
data = i.split() data = i.split()
name = data[0] name = data[0]
number = data[1:] number = data[1:]
print(name) sum = 0
print(number) for sb in number:
\ No newline at end of file sum += int(sb)
result = sum
print(data[0]+str(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