fork download
  1. # your code goes here
  2. def Sum(a):
  3. print("here")
  4. _sum = 0
  5. for i in a:
  6. _sum+=i;
  7. return _sum
  8. a = [1,2,3,4,5,6]
  9. print(Sum(a))
Success #stdin #stdout 0.07s 14204KB
stdin
Standard input is empty
stdout
here
21