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