📅  最后修改于: 2022-03-11 14:47:03.276000             🧑  作者: Mango
def positive_sum(numbers):
positive_sum = 0
for n in numbers:
if n > 0:
positive_sum += n
return positive_sum
positive_sum([1,-4,7,12])