Commit 9435f030 by BellCodeEditor

save project

parent 3e0b9096
Showing with 6 additions and 0 deletions
...@@ -6,3 +6,8 @@ for i in data: ...@@ -6,3 +6,8 @@ for i in data:
a=i.split() a=i.split()
print(a[0]) print(a[0])
print(a[1:]) print(a[1:])
sum=0
for i in a:
sum=sum+int(i)
h=name+str(sum)
print(h)
\ 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