summaryrefslogtreecommitdiff
path: root/progs/unparsable_programs/a496.py
blob: e34381bfdddaffb8e249616ea4091129ae569af5 (plain)
1
2
3
def sum_negativenum(nums):
  sum_negativenum = list(filter(lambda nums:nums<0,nums))
  return sum(sum_negativenum)