<gh_stars>0
import functools
my_list = [1,2,3,4]

sum = functools.reduce(lambda x,y: x+y, my_list)
print(sum)
import functools
my_list = [1,2,3,4]

sum = functools.reduce(lambda x,y: x+y, my_list)
print(sum)