Commit a6b2e0c3 by BellCodeEditor

save project

parent 6235f90f
Showing with 6 additions and 3 deletions
...@@ -7,5 +7,8 @@ a.close() ...@@ -7,5 +7,8 @@ a.close()
for i in s: for i in s:
a=i.split() a=i.split()
sum=0
print(a[1:]) #print(a[1:])
\ No newline at end of file for d in a[1:]:
sum=sum+int(d)
print(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