Commit e8061b74 by BellCodeEditor

save project

parent be23003a
Showing with 8 additions and 2 deletions
...@@ -5,4 +5,10 @@ file.close() ...@@ -5,4 +5,10 @@ file.close()
for i in a: for i in a:
# print(i) # print(i)
p=i.split() p=i.split()
print(p[1:]) #print(p[1:])
\ No newline at end of file sum=0
s=''
for sa in p[1:]:
sum+=int(sa)
s=p[0]+str(sum)
print(s)
\ 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