[ create a new paste ] login | about

Link: http://codepad.org/zWPBoeMU    [ raw code | output | fork ]

Python, pasted on Oct 16:
1
2
3
4
5
6
7
8
a = input()
list = a.split()
s=[]

for i in list:
    s.append(int(i))

print(sum(s))


Output:
1
2
3
4
Traceback (most recent call last):
  Line 1, in <module>
    a = input()
EOFError


Create a new paste based on this one


Comments: