[ create a new paste ] login | about

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

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

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

print(sum(s))


Output:
1
2
3
4
  Line 5
    fot i in list:
        ^
SyntaxError: invalid syntax


Create a new paste based on this one


Comments: