mirror of
https://gitlab.com/mfocko/CodeWars.git
synced 2024-11-09 11:09:07 +01:00
2 lines
68 B
Python
2 lines
68 B
Python
def positive_sum(arr):
|
|
return sum(filter(lambda e: e > 0, arr))
|