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