from functools import reduce o = [20,30,100,60,80,90] #1 print(reduce((lambda x,y:x+y),o)) # returns 380 #2 print(reduce((lambda x,y,z:x+y+z),o)) # FAILS #3 print(