fork download
  1. def sq(arr):
  2. return sum(filter(lambda x: x%3==0,arr))
  3.  
  4. z=sq([1,2,3,4,5,6])
  5. print(z)
  6.  
Success #stdin #stdout 0.02s 27712KB
stdin
Standard input is empty
stdout
9