Commit 3bc98395 by BellCodeEditor

save project

parent 278053aa
Showing with 3 additions and 1 deletions
...@@ -5,5 +5,6 @@ for i in a: ...@@ -5,5 +5,6 @@ for i in a:
sum = 0 sum = 0
for j in data[1:]: for j in data[1:]:
sum = sum + int(j) sum = sum + int(j)
print(sum) result = data[0] + str(sum)
print(result)
file1.close() file1.close()
\ 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