Commit 3869ffe3 by BellCodeEditor

save project

parent 052f755f
Showing with 6 additions and 1 deletions
......@@ -3,5 +3,9 @@ a=sb.readlines()
#print(a)
for i in a:
dsb=i.split()
print(dsb[1:])
#print(dsb[1:])
eh=0
for i in dsb[1:]:
eh=eh+int(i)
print(dsb[0]+str(eh))
sb.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