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